Get Current Greewich Mean Time using GetSystemTime API
Get Current Greewich Mean Time using GetSystemTime API
API Declarations
wYear As Integer
wMonth As Integer
wDayOfWeek As Integer
wDay As Integer
wHour As Integer
wMinute As Integer
wSecond As Integer
wMilliseconds As Integer
End Type
Private Declare Sub GetSystemTime Lib "kernel32.dll" (lpSystemTime As SYSTEMTIME)
Dim gtime As SYSTEMTIME
Rate Get Current Greewich Mean Time using GetSystemTime API
(1(1 Vote))
GetSystemTime gtime
Label1.Caption = "Time in Greewich is " & gtime.wHour & ":" & gtime.wMinute & ":" & gtime.wSecond
End Sub
Get Current Greewich Mean Time using GetSystemTime API Comments
No comments yet — be the first to post one!
Post a Comment