Date Time Formulas

Excel Price Feed Date Time Formulas Example Spreadsheet Download
Click the Excel icon to download a sample spreadsheet that demonstrates all the Excel Price Feed date/time formulas.

Excel Price Feed includes several useful date related Excel formulas, some for retrieving the current date/time in various time zones, and others for converting dates/times between time zones.

"Now" formulas

These formulas return the current date/time for a specifc time zone.

They all return a serial number which represents the date/time in Excel. You will need to adjust the formatting of the cell in order to see the actual date and time.

Date time now Excel formulas for various time zones

They differ from the built-in NOW and TODAY Excel formulas in that they are not volatile formulas and will only update when you refresh your spreadsheet.

If you are using either NOW() or TODAY() in your spreadsheet then we highly recommend that you replace them with the Excel Price Feed equivalent.

EPF.Dates.Now.Local

This formula returns the current local date/time.

EPF.Dates.Now.UTC

This formula returns the current UTC (Coordinated Universal Time) date/time.

EPF.Dates.Now.EST

This formula returns the current date/time for US Eastern Standard Time, the time zone for New York.

EPF.Dates.Now.GMT

This formula returns the current date/time for GMT Standard Time, the time zone for London.

EPF.Dates.Now.CET

This formula returns the current date/time for Central Europe Standard Time, the time zone for Paris and Frankfurt.

EPF.Dates.Now.JST

This formula returns the current date/time for Japan Standard Time, the time zone for Tokyo.

EPF.Dates.Now.AEST

This formula returns the current date/time for Australian Eastern Standard Time, the time zone for Sydney.

EPF.Dates.Now.TimeZone

This formula returns the current date/time for the specified time zone.

For example, the formula below returns the current date/time for the "Singapore Standard Time" time zone:

=EPF.Dates.Now.TimeZone("Singapore Standard Time")

For a list of possible time zones, please see the time zones table at the bottom of this page. .

Date time conversion formulas

Most of the date/times used throughout the Add-in are in UTC format and these formulas can be used to convert UTC dates to either your local time zone or the time zone of the financial centre.

Date time Excel formulas for time zone conversions

EPF.Dates.UTC.To.Local

This formula is used to convert from a UTC (Coordinated Universal Time) date/time to a local date/time.

For example, the formula below will convert a UTC time of 14:44 (in cell E2) to the local time on my PC, in this case 17:44 (currently a 3 hour offset):

=EPF.Dates.UTC.To.Local(E2)

Excel Price Feed UTC to Local Time Excel formula

This formula, like any regular Excel formula, can take another formula as input.

For example we can use the regular market time fomrula (in UTC) as an input to this formula to convert it to local time:

=EPF.Dates.UTCToLocal(EPF.Yahoo.RegularMarketTime("AAPL"))


EPF.Dates.UTC.To.EST

This formula converts a UTC date/time to US Eastern Standard Time, the time zone for New York.


EPF.Dates.UTC.To.GMT

This formula converts a UTC date/time to GMT Standard Time, the tim zone for London.


EPF.Dates.UTC.To.CET

This formula converts a UTC date/time to Central Europe Standard Time, the time zone for Paris and Frankfurt.


EPF.Dates.UTC.To.JST

This formula converts a UTC date/time to Japan Standard Time, the time zone for Tokyo.


EPF.Dates.UTC.To.AEST

This formula converts a UTC date/time to Australian Eastern Standard Time, the time zone for Sydney.


EPF.Dates.UTC.To.TimeZone

This formula converts a UTC date/time to the specified time zone. This enables you to convert to any time zone as listed in the table below.


Time zones

These are all the time zones that can be used with the EPF.Dates.Now.TimeZone and EPF.Dates.UTC.To.TimeZone formulas.

Use the time zone value in the first column of the table below as the time zone parameter to these formulas.

Time zone Description
GMT Standard Time(GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London
Greenwich Standard Time(GMT) Monrovia, Reykjavik
Morocco Standard Time(GMT) Casablanca
W. Europe Standard Time(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
Central Europe Standard Time(GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague
Romance Standard Time(GMT+01:00) Brussels, Copenhagen, Madrid, Paris
Central European Standard Time(GMT+01:00) Sarajevo, Skopje, Warsaw, Zagreb
W. Central Africa Standard Time(GMT+01:00) West Central Africa
Jordan Standard Time(GMT+02:00) Amman
GTB Standard Time(GMT+02:00) Athens, Bucharest, Istanbul
Middle East Standard Time(GMT+02:00) Beirut
Egypt Standard Time(GMT+02:00) Cairo
South Africa Standard Time(GMT+02:00) Harare, Pretoria
FLE Standard Time(GMT+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius
Israel Standard Time(GMT+02:00) Jerusalem
E. Europe Standard Time(GMT+02:00) Minsk
Namibia Standard Time(GMT+02:00) Windhoek
Arabic Standard Time(GMT+03:00) Baghdad
Arab Standard Time(GMT+03:00) Kuwait, Riyadh
Russian Standard Time(GMT+03:00) Moscow, St. Petersburg, Volgograd
E. Africa Standard Time(GMT+03:00) Nairobi
Georgian Standard Time(GMT+03:00) Tbilisi
Iran Standard Time(GMT+03:30) Tehran
Arabian Standard Time(GMT+04:00) Abu Dhabi, Muscat
Azerbaijan Standard Time(GMT+04:00) Baku
Mauritius Standard Time(GMT+04:00) Port Louis
Caucasus Standard Time(GMT+04:00) Yerevan
Afghanistan Standard Time(GMT+04:30) Kabul
Ekaterinburg Standard Time(GMT+05:00) Ekaterinburg
Pakistan Standard Time(GMT+05:00) Islamabad, Karachi
West Asia Standard Time(GMT+05:00) Tashkent
India Standard Time(GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi
Sri Lanka Standard Time(GMT+05:30) Sri Jayawardenepura
Nepal Standard Time(GMT+05:45) Kathmandu
N. Central Asia Standard Time(GMT+06:00) Almaty, Novosibirsk
Central Asia Standard Time(GMT+06:00) Astana, Dhaka
Myanmar Standard Time(GMT+06:30) Yangon (Rangoon)
SE Asia Standard Time(GMT+07:00) Bangkok, Hanoi, Jakarta
North Asia Standard Time(GMT+07:00) Krasnoyarsk
China Standard Time(GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi
North Asia East Standard Time(GMT+08:00) Irkutsk, Ulaan Bataar
Singapore Standard Time(GMT+08:00) Kuala Lumpur, Singapore
W. Australia Standard Time(GMT+08:00) Perth
Taipei Standard Time(GMT+08:00) Taipei
Tokyo Standard Time(GMT+09:00) Osaka, Sapporo, Tokyo
Korea Standard Time(GMT+09:00) Seoul
Yakutsk Standard Time(GMT+09:00) Yakutsk
Cen. Australia Standard Time(GMT+09:30) Adelaide
AUS Central Standard Time(GMT+09:30) Darwin
E. Australia Standard Time(GMT+10:00) Brisbane
AUS Eastern Standard Time(GMT+10:00) Canberra, Melbourne, Sydney
West Pacific Standard Time(GMT+10:00) Guam, Port Moresby
Tasmania Standard Time(GMT+10:00) Hobart
Vladivostok Standard Time(GMT+10:00) Vladivostok
Central Pacific Standard Time(GMT+11:00) Magadan, Solomon Is., New Caledonia
New Zealand Standard Time(GMT+12:00) Auckland, Wellington
Fiji Standard Time(GMT+12:00) Fiji, Kamchatka, Marshall Is.
Tonga Standard Time(GMT+13:00) Nuku'alofa
Azores Standard Time(GMT-01:00) Azores
Cape Verde Standard Time(GMT-01:00) Cape Verde Is.
Mid-Atlantic Standard Time(GMT-02:00) Mid-Atlantic
E. South America Standard Time(GMT-03:00) Brasilia
Argentina Standard Time(GMT-03:00) Buenos Aires
SA Eastern Standard Time(GMT-03:00) Georgetown
Greenland Standard Time(GMT-03:00) Greenland
Montevideo Standard Time(GMT-03:00) Montevideo
Newfoundland Standard Time(GMT-03:30) Newfoundland
Atlantic Standard Time(GMT-04:00) Atlantic Time (Canada)
SA Western Standard Time(GMT-04:00) La Paz
Central Brazilian Standard Time(GMT-04:00) Manaus
Pacific SA Standard Time(GMT-04:00) Santiago
Venezuela Standard Time(GMT-04:30) Caracas
SA Pacific Standard Time(GMT-05:00) Bogota, Lima, Quito, Rio Branco
Eastern Standard Time(GMT-05:00) Eastern Time (US & Canada)
US Eastern Standard Time(GMT-05:00) Indiana (East)
Central America Standard Time(GMT-06:00) Central America
Central Standard Time(GMT-06:00) Central Time (US & Canada)
Central Standard Time (Mexico)(GMT-06:00) Guadalajara, Mexico City, Monterrey
Canada Central Standard Time(GMT-06:00) Saskatchewan
US Mountain Standard Time(GMT-07:00) Arizona
Mountain Standard Time (Mexico)(GMT-07:00) Chihuahua, La Paz, Mazatlan
Mountain Standard Time(GMT-07:00) Mountain Time (US & Canada)
Pacific Standard Time(GMT-08:00) Pacific Time (US & Canada)
Pacific Standard Time (Mexico)(GMT-08:00) Tijuana, Baja California
Alaskan Standard Time(GMT-09:00) Alaska
Hawaiian Standard Time(GMT-10:00) Hawaii
Samoa Standard Time(GMT-11:00) Midway Island, Samoa
Dateline Standard Time(GMT-12:00) International Date Line West