[Visual Basic] Public Sub FromPosixTime( _ ByVal posixTime As Long, _ ByVal convertToLocal As Boolean _ )
[C#] public void FromPosixTime( longposixTime, boolconvertToLocal );
Parameters
posixTime
a scalar time value, indicating the number of seconds elapsed
since 1 Jan 1970 00:00:00 UTC
convertToLocal
if true, the internal representation will be in local time;
if false, the internal representation will be in UTC
Remarks
Posix time is defined as the number of seconds elapsed since
1 Jan 1970 00:00:00 UTC.
If convertToLocal is true, then the
DateTime object creates the internal representation in local
time; otherwise, it creates the internal representation in UTC
time.