Function CurrentTime. Returns the COMPLETE system time, including milliseconds (something VB's date
Function CurrentTime. Returns the COMPLETE system time, including milliseconds (something VB's date/time func doesn't do).
API Declarations
Private 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
Rate Function CurrentTime. Returns the COMPLETE system time, including milliseconds (something VB's date
(1(1 Vote))
Dim SYSTEMTIME As SYSTEMTIME
GetLocalTime SYSTEMTIME
CurrentTime = SYSTEMTIME.wYear & "/" & SYSTEMTIME.wMonth & "/" & SYSTEMTIME.wDay & " " & SYSTEMTIME.wHour & ":" & SYSTEMTIME.wMinute & ":" & SYSTEMTIME.wSecond & "." & SYSTEMTIME.wMilliseconds
End Function
Function CurrentTime. Returns the COMPLETE system time, including milliseconds (something VB's date Comments
No comments yet — be the first to post one!
Post a Comment