Converts a datetime value into a SYSTEMTIME struct.

DT2ST(tTime, nSystemTimePointer [, bToUTC])

Parameters

tTime

A datetime value.

nSystemTimePointer

A pointer to a SYSTEMTIME structure.

bToUTC (optional)

default = .F.

If .T. the datetime is converted to UTC.

Return Value

Always .T.

See Also

Reference

ATimeZones
Double2DT
DT2Double
DT2FT
DT2Timet
DT2UTC
FT2DT
GetSystemTime
SetSystemTime
ST2DT
Timet2DT
UTC2DT

Used WinApi functions

FileTimeToSystemTime
LocalFileTimeToFileTime