Kernel32GetLocalTime Method

Retrieves the current local date and time.

To retrieve the current date and time in Coordinated Universal Time (UTC) format, use the GetLocalTime(SystemTime) function.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Kernel32.dll")]
public static void GetLocalTime(
	ref SystemTime refTime
)

Parameters

refTime  SystemTime
A pointer to a SystemTime structure that receives the current local date and time.

Remarks

See Also