I am being supplied a count of number of seconds since Jan 1st 1970, i.e. a
Unix system time. How can I convert this into a valid .Net DateTime object ?
thanks,
Mark
WinXP / C#.Net 2003
Mark,
>I am being supplied a count of number of seconds since Jan 1st 1970, i.e. a
>Unix system time. How can I convert this into a valid .Net DateTime object ?
Get a DateTime value representing Jan 1st 1970, then call AddSeconds
on it.
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.