Mega Code Archive

 
Categories / VisualBasic Script / Date Functions
 

Mm - Displays a number from 01 to 12 giving the two-digit number of the month When used after h returns minutes instead of

Sub formatDemo15()     Debug.Print Format(#4/1/2006 12:36:54 PM#, "mm") End Sub