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!
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!