Retrieves the current system date and time either in Coordinated Universal Time (UTC)
or in local time.

GetSystemTime([bUTCTime])

Parameters

bUTCTime (optional)

default = .F.

If .T. the time is returned in UTC.

Return Value

A datetime value.

See Also

Reference

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

Used WinApi functions

GetLocalTime
GetSystemTime