Formating Dates

W

wmfrost

How do I take a date 9/02/2005 and make it so I can group them by month, i.e
9/2005.
 
O

Ofer

If you don't want the months of different years to group together then you
can use

Format(datefield,"mm/yyyy")
 
D

Douglas J Steele

Or, depending on how you want them to sort, Format(datefield,"yyyy/mm")
 
Top