FILETIMEToSysTime

This function is Windows-Only.

Converts a FILETIME struct to a SysTime.

version(StdDdoc)
@safe
FILETIMEToSysTime
(
scope const FILETIME* ft
,
immutable TimeZone tz = LocalTime()
)

Parameters

ft FILETIME*

The FILETIME struct to convert.

tz TimeZone

The time zone that the SysTime will be in (FILETIMEs are in UTC).

Throws

std.datetime.date.DateTimeException if the given FILETIME will not fit in a SysTime.

Meta