Gmt To Local Time Converter

Time zone difference: Argentina Time (ART) to Local Time Time now in ART and Local. Conversion tools and tables. All times shown observe local daylight saving time (DST) rules. Now I want to get the local time zone where the software is running and convert this GMT time to the local time. Please tell me how to do this? Follow asked Apr 14 '12 at 11:35. DJ' DJ' 1,737 1 1 gold badge 13 13 silver badges 26 26 bronze badges. Time Difference. Greenwich Mean Time is 7 hours behind of Western Indonesian Time 10:30 pm 22:30 in GMT is 5:30 am 05:30 in WIB. GMT to WIB call time Best time for a conference call or a meeting is between 8am-11am in GMT which corresponds to 3pm-6pm in WIB. 10:30 pm 22:30 Greenwich Mean Time (GMT). Offset UTC 0:00 hours. This time span will be between 7:00 am and 11:00 pm Manila time. Quickly and easily compare or convert GMT time to Manila time, or the other way around, with the help of this time converter. Below, you can see the complete table of the conversions between GMT and Manila. GMT to Manila time converter. Greenwich Mean Time ( GMT ) to Your Local Time and Worldwide Time Conversions, Conversion Time Chart between Greenwich Mean Time and Local Time.

Pearson Software Consulting Services

Converting Between Local Time And GMT (UTC) Time

There is no built-in way to convert between a Local Time and Greenwich Mean Time (GMT, also called UTC or Zulu Time). Moreover, Windows and VB/VBA support three different methods of representing time. The three different time formats are described below:

Serial Format
This format represents time in a Double type variable. The integer portion (to the left of the decimal point) represents the number of days since 30-December-1899 (1 = 31-December-1899, 2 = 1-January-1900,...39075 = 23-December-2006)., and the fractional portion of the value (to the right of the decimal point) represents a fraction of a 24-hour day (0.25 = 6:00:00, 0.5 = 12:00:00, 0.75 = 18:00:00). This is the format used in VB/VBA's time-related functions.

The FILETIME is a Type comprised of two 32-bit Long integers, which together form a 64-bit integer (not supported in VB/VBA). The value of the FILETIME is the number of 100-nanosecond intervals since 1-January-1601. The system uses FILETIME structures to store the date attributes of a file. These dates and times are stored as GMT values. The FILETIME Type is shown below:

The SYSTEMTIME is a Type with an element for each component of a date and time (i.e., year, month, day, hour, minute, second). The SYSTEMTIME Type is shown below:

There is also an obsolete time format called DosDateTime, which is not discussed here. See this MSDN article form information about the DosDateTime format. For a discussion of file times in general, see this MSDN article.

You can download a bas code module or a complete workbook that contains the following functions.

The first pair of functions convert between Local Time and GMT. Daylight Savings Time is taken into account. The rules for Daylight Savings Time in these function are the USA rules. Other countries may have other rules. You can adapt the code to match your local rules. In the USA, for years before 2007, Daylight Savings Time begins on the first Sunday in April and Standard Time begins on last Sunday in October. For years 2007 and later, Daylight Savings Time begins on the second Sunday in March, and Standard Time begins on the first Sunday of November.

The downloadable module contains a procedure call IsDateWithinDST which returns True or False indicating whether the specified date is within the Daylight Saving Time period.

To determine the GMT of a Local Time (and the reverse) the GetTimeZoneInformation Windows API function is used. It fills a TIME_ZONE_INFORMATION Type with information about the current time zone, its offset from GMT, and information about Daylight Savings Time. The TIME_ZONE_INFORMATION Type is show below:

NOTE: If you are using the Windows API Text Viewer program, you will need to change the declaration of StandardName and DaylightName form StandardName(32) As Integer to StandardName(0 to 31) As Integer, and DaylightName(32)As Integer to DaylightName(0 to 31) As Integer, as is shown above. The declarations in the API Text Viewer are incorrect.

GetTimeZoneInformation Windows API function populates the element of this Type. Here, Bias is the number of minutes that are added to the local time to get GMT. In the USA Central Time Zone, this value is 360 minutes, or 6 hours. Conversion is based on the following two relationships:

These relationships do not reflect Daylight Savings Time, since GMT does not change with Daylight Time. To accomodate Daylight Time,

The IsDateWithinDST function is included in the download module.

The Type stores the StandardName and DaylightName as an array of integers. To convert these arrays to strings, use the code below:

You can the call this function with code like

The ConvertTimeZoneName function is included in the downloadable module. The function CurrentTimeZoneName will return a string containing the name of the current time zone.

The downloadable workbook also contains the following functions specifically designed to be called from worksheet cells, in a module named modWorksheetFunctions.


This function returns the Created File Time of the file specified in FileName. If this file does not exist, the function returns #VALUE. If FileName is omitted, the function returns the created time of ThisWorkbook. By default, the time returned is the local time value. To return the GMT value, set the TimeAsGMT flag to True.


This function returns the Last Access (read) File Time of the file specified in FileName. If this file does not exist, the function returns #VALUE. If FileName is omitted, the function returns the last access time of ThisWorkbook. By default, the time returned is the local time value. To return the GMT value, set the TimeAsGMT flag to True.


This function returns the Last Modified (write) File Time of the file specified in FileName. If this file does not exist, the function returns #VALUE. If FileName is omitted, the function returns the last access time of ThisWorkbook. By default, the time returned is the local time value. To return the GMT value, set the TimeAsGMT flag to True.


This function returns the name of the current time zone, e.g., 'Central Standard Time'.


This function returns True if the system is currently operating in Daylight Savings Time, or False otherwise.


This returns the number of minutes that are to be added to a Local Time to get GMT. This value is positive for locations West of GMT, or negative for locations East of GMT. The relationship between Local Time and GMT is expressed in code as

The other function listed above convert between Serial Dates and FILETIMEs and SYSTEMTIMEs. To convert between FILETIMEs and SYSTEMTIMEs, use the SystemTimeToFileTime and FileTimeToSystemTime Windows API functions. The function declarations are shown below, and the procedures are documented online at MSDN:


You can download the bas module file here or a complete workbook with examples here.

Windows System API Functions

The time value and format functions in the module file are built up from the following Window API Functions. Each API function name below is linked to the documentation page in the MSDN (Microsoft Developer Network) Library. You can view to the main MSDN Library page here.

This function converts a GMT FILETIME to a Local FILETIME.


This function converts a Local FILETIME to a GMT FILETIME.

This function converts a SYSTEMTIME to a FILETIME.


This function converts a FILETIME to a SYSTEMTIME.


This function retrieves Time Zone Information indicating Time Zone and Daylight Savings Time information.

Function Reference Table. Use the following functions to convert between file times or get current times.

FromToFunction (modLocalTimeAndGMT function or Windows API function)
Local Serial GMT SerialLocalTimeToGMTTimeSerial module function
GMT Serial Local SerialGMTTimeToLocalTimeSerial module function
SYSTEMTIME SerialSystemTimeToSerialTime module function
FILETIME Serial FileTimeToSerialTime module function
SerialFILETIMESerialTimeToFileTime module function
Serial SYSTEMTIMESerialTimeToSystemTime module function
Local FILETIME GMT FILETIMEFileTimeLocalToFileTimeGMT module function
GMT FILETIME Local FILETIMEFileTimeGMTToFileTimeLocal module function
Local SYSTEMTIME GMT SYSTEMTIME LocalSystemTimeToGMTSystemTime module function
GMT SYSTEMTIME Local SYSTEMTIME GMTSystemTimeToLocalSystemTime module function
Local Time Now As Serial n/aLocalTimeNowAsSerial module function
GMT Time Now As Serial n/aGMTNowAsSerial module function
Local Time Now As FILETIME n/aLocalTimeNowAsFILETIME module function
GMT Time Now As FILETIME n/aGMTNowAsFILETIME module function
Local Time Now As SYSTEMTIME n/aLocalTimeNowAsSYSTEMTIME module function
GMT Time Now As SYSTEMTIME n/aGMTNowAsSYSTEMTIME module function
Is a date within Daylight Time n/aIsDateWithinDST module function

Created By Chip Pearson and Pearson Software Consulting, LLC
This Page: Updated: November 06, 2013
MAIN PAGEAbout This SiteConsultingDownloads
Page IndexSearchTopic IndexWhat's New

[email protected]

© Copyright 1997-2007 Charles H. Pearson

US, Canada, Mexico Time Zones

Atlantic Daylight Time (ADT) • Eastern Daylight Time (EDT) • Central Daylight Time (CDT) • Mountain Daylight Time (MDT) • Pacific Daylight Time (PDT) • Alaska Daylight Time (AKDT) • Hawaii Time • Arizona • Saskatoon • New York • Toronto • Mexico City • San Francisco • Chicago • Houston • Miami • Phoenix • Halifax • Denver • Monterrey • Chihuahua

Europe Time Zones

Greenwich Mean Time (GMT) • British Summer Time (BST) • Western European Summer Time (WEST) • Central European Summer Time (CEST) • Eastern European Summer Time (EEST) • London • Paris • Berlin • Athens • Warsaw • Kiev • Belarus • Moscow • Madrid • Stockholm • Amsterdam • Istanbul

Australia, New Zealand Time Zones

AEST • ACST • AWST •New Zealand Time (NZT) • Queensland • Adelaide • Brisbane • Canberra • Melbourne • Perth • Sydney • Auckland • Fiji • Solomon Islands • Papua New Guinea

Gmt to local time converter now
Gmt To Local Time Converter
Asia Time Zones

India • Pakistan • China • UAE • Japan • Korea • Philippines • Thailand • Hong Kong • Taiwan • Malaysia • Singapore • Jakarta • Bangladesh • Sri Lanka • Nepal • Kuwait • Saudi Arabia • Viet Nam • Oman • Israel • Jordan • Beijing • Bangalore • Kuala Lumpur • Manila • Tokyo • Seoul • Karachi • Dubai

Gmt To Local Time Converter
Africa Time Zones

West Africa Time (WAT) • Central Africa Time (CAT) • East Africa Time (EAT) • Egypt • Nigeria • Kenya • Ghana • Morocco • Tanzania • Ethiopia • Uganda • South Africa • Cairo • Algiers • Casablanca • Accra • Lagos • Cape Town • Nairobi

Gmt To Local Time Calculator

South America Time Zones

Brazil • Argentina • Chile • Peru • Ecuador • Colombia • Venezuela • Panama • Puerto Rico • São Paulo • Manaus • Rio de Janeiro • Buenos Aires • Santiago • Lima • Quito • Bogota • Caracas

Gmt To Local Time Converter Chart

Russia Time Zones

Moscow • Novosibirsk • Yekaterinburg • Omsk • St Petersburg • Kazan • Irkutsk • Chita • Vladivostok • Sochi • Almaty • Kyrgyzstan • Uzbekistan • Tajikistan