Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

date formatting

Status
Not open for further replies.

mjd3000

Programmer
Apr 11, 2009
136
GB
How in a report do you format a date as 29-Jun-09 rather than 29/06/2009 00:00:00 AM?
 
I have managed to do this with dd-MMM-yy, but for some reason it doesn't work for August...other months work, but August dates are shown as e.g. 13-auA.D.-09
 
Try this (using Today's date as an example):
Code:
=Format(CDate(Today),"dd-MMM-yyyy")

--------------------------
Web/.net Programmer & DBA
Central PA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top