by Yuening Dai (30 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 9th January 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Use Function FormatDate in VB6
MsgBox FormatDateTime("1:11", vbShortTime) '01:11
MsgBox FormatDateTime("1:11", vbLongTime) '1:11:00 AM