Type SYSTEMTIME

Purpose
The SYSTEMTIME structure holds a date and time in an easily usable format. The structure is able to hold times precise to the millisecond, even though that information may not always be used.
 
From library
Kernel...DLL
 
Type specification Include in your program. Copy/Paste if needed.

Type SYSTEMTIME

   wYear As Smallint            ' Four-digit year

   wMonth As Smallint           ' Month by number (1=January,...)

   wDayOfWeek As Smallint       ' Day of the week by number (0=Sunday, 1=Monday ...)

   wDay As Smallint             ' Day of the month by number

   wHour As Smallint            ' Hour in 24 hour format

   wMinute As Smallint          ' Minutes

   wSecond As Smallint          ' Seconds

   wMilliseconds As Smallint    ' Milliseconds

End Type