by Jack van-Niekerk (1 Submission)
Category: Windows System Services
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Sun 24th January 1999
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
Returns GMT for time stamps in applications. Date and time in milliseconds
API Declarations
Declare Function SetSystemTime Lib "kernel32" (lpSystemTime As SYSTEMTIME) As Long
Type SYSTEMTIME
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
Dim GMTime As SYSTEMTIME
Dim TheTime as String
GetSystemTime GMTime
TheTime = Format(GMTime.wMonth & "/" & GMTime.wDay & "/" & GMTime.wYear & " " & GMTime.wHour & ":" & GMTime.wMinute & ":" & GMTime.wSecond & "." & GMTime.wMilliseconds, "m/d/yyyy hh:mm:ss.sss")
No comments have been posted about Returns GMT for time stamps in applications. Date and time in milliseconds. Why not be the first to post a comment about Returns GMT for time stamps in applications. Date and time in milliseconds.