A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



GetLocalTime

The GetLocalTime function retrieves the current local date and time.

VB4-32,5,6
Declare Sub GetLocalTime Lib "kernel32" Alias "GetLocalTime" (lpSystemTime As SYSTEMTIME)

VB.NET
System.DateTime.Now

Operating Systems Supported
Requires Windows NT 3.1 or later; Requires Windows 95 or later

Library
Kernel32

Parameter Information
- lpSystemTime
Points to a SYSTEMTIME structure to receive the current local date and time.

Return Values
This function does not return a value.

Last update: 07 April 2006