Visual Basic > API and Miscellaneous
Use of the API-call
Use of the API-call Declare sub GetLocalTime Lib "Kernel32" (lpSystemTime as SYSTEMTIME) 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 MyTime as SYSTEMTIME GetLocalTime MyTime text$="The Date is:" & MyTime.wMonth & "/" & _ MyTime.wDay & "/" & MyTime.wYear MsgBox text$ Return
Visual Basic Codes
ActiveX
Miscellaneous
Applications
Code Snippets
Common Dialogs
Special Effects
Database Stuff
Date Time
Files Drives
Forms
Graphics Games
Internet Stuff
Multimedia
Other
Strings
Windows