FILETIMEToDateTimeConversion extension

Extensions for converting between Windows FILETIME and Dart DateTime.

A FILETIME represents the number of 100-nanosecond intervals since January 1, 1601 (UTC) — the Windows epoch.

Dart DateTime, by contrast, represents microseconds since January 1, 1970 (UTC) — the Unix epoch.

These extensions provide precise and predictable conversions between the two representations.

on

Methods

toDateTime({bool isUtc = true}) DateTime

Available on FILETIME, provided by the FILETIMEToDateTimeConversion extension

Converts this FILETIME to a Dart DateTime.