Current Petroleum Prices
| Product | Current Price | Previous Price | Difference |
|---|---|---|---|
| Petrol (MS) | Rs 272.15 | Rs 268.36 | +3.79 |
| High Speed Diesel | Rs 284.35 | Rs 280.45 | +3.90 |
| Kerosene Oil | Rs 191.02 | Rs 189.12 | +1.90 |
| Light Diesel Oil | Rs 165.75 | Rs 164.50 | +1.25 |
Price History
| Date | Petrol | Diesel | Change |
|---|---|---|---|
| Today | 272.15 | 284.35 | +3.79 |
| 15 Days Ago | 268.36 | 280.45 | -2.15 |
| 30 Days Ago | 270.51 | 282.60 | +1.30 |
function updateDateTime(){ const now = new Date();
document.getElementById('datetime').innerHTML = 'Last Updated: ' + now.toLocaleDateString() + ' | ' + now.toLocaleTimeString(); }
updateDateTime(); setInterval(updateDateTime,1000);
/* LIVE API EXAMPLE
async function getFuelPrices(){
const response = await fetch('YOUR_API_URL'); const data = await response.json();
document.getElementById('petrolPrice').innerText = 'Rs ' + data.petrol;
document.getElementById('dieselPrice').innerText = 'Rs ' + data.diesel;
}
getFuelPrices(); setInterval(getFuelPrices,300000);
*/
