[roch-pm] Accessing windows time format?

Brian Mathis bmathis at directedge.com
Wed Oct 3 12:18:50 CDT 2001


On Tue, 2 Oct 2001, Derek J. Kalweit wrote:
> Brian:
>   The Win32 registry only allows DWORD, STRING, and BINARY data. Any
> date/time in the registry is either stored as a DWORD or a string-- both
> as defined in the application that made the registry entry.
>

Thanks for the response.

The reg key type is BINARY.  I'm assuming that windows acts similar to
UNIX in that the time is a great big number that you can run through some
magic functions to convert it to a human readable version.  Do you know if
this is a correct assumption?  If so, do you know the magic function?

My goal is to be able to convert to human readable format, twiddle the
date, then convert it back and store back in the registry.

-- 
Brian Mathis
Direct Edge
http://www.directedge.com

--
For information on unsubscribing from this list, please visit
http://rochester.pm.org



More information about the Rochester-pm mailing list