Mega Code Archive

 
Categories / VisualBasic Script / Date Functions
 

Q - Displays a number from 1 to 4 giving the quarter of the year

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