Time.toSystemTime

Overview | Methods | Fields | This Package | All Packages

Time.toSystemTime

Retrieves this Time object as a Win32 SYSTEMTIME structure.

Syntax

public SYSTEMTIME toSystemTime()

Return Value

Returns a Win32 SYSTEMTIME structure that represents the time stored in this Time object.

Remarks

Use the toSystemTime method when you need to work with time values in the Win32 API. Dates that are earlier than January 1, 1601, cannot be converted to a SYSTEMTIME value.