Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert EST to GMT

Status
Not open for further replies.

iamnamja

MIS
Feb 16, 2010
3
US
Hi,



I have a file that shows date and time in EST, but I need to convert this to GMT.

The date in the file is in this format: 2011-01-07 08:59:54.000



I already have it parsed so that date(by year/month/date) and time (hour/min/sec/milli) is separated. But I would need to mostly convert the hour to show GMT. What would be the best way to go about this? I know that most of the time the difference is 5 hours, but I need to have it account for the day light savings etc.. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top