Mega Code Archive
Categories
/
VisualBasic Script
/
Date Functions
AP - Uses the 12-hour clock and displays A or P as appropriate
Sub formatDemo32() Debug.Print Format(#4/1/2006 12:36:54 PM#, "A") End Sub