Click to See Complete Forum and Search --> : UTC Time format


Alejandro Ochoa
June 18th, 2001, 12:56 PM
Does anyone know how to convert a date/time in the UTC (Universal Coordinated Time) format?

Any help would be REALLY apreciated.

Thanks.

John G Duffy
June 19th, 2001, 08:14 AM
Go to
http://search.microsoft.com/us/SearchMS.asp
and search on "UTC Time zone Conversion" (without the quotes of course). You should get 17 hits that discuss this problem

John G

Alejandro Ochoa
June 20th, 2001, 09:24 AM
Thanks for your reply, I already checked that page, and could get a little help.

What I need to do is develop an algorithm to convert UTC format to date format.

Is something like this:

878159351 represents the date in number of seconds elapsed since 1/1/1970 12:01 AM, so the date would be 10/29/1997 1:09:11 PM.

I checked Windows API functions and it uses a diferent format (seconds elapsed since 1/1/1601).

If anyone knows of an existing function or pointers on how to achieve this I'd really apreciate it.

Thanks.

Alejandro.