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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print the date as dd-Short-Month-yy

Status
Not open for further replies.

crystalreport85

Programmer
Sep 27, 2010
51
CA
I would like to know how to print the date as 3-Mar-11. Orginal date field is coming from db as 3/4/2011.
How to convert it?
Thank you so much
 
If it is of date datatype, you can right click on it->format field->date and select the format there (or in the customize style tab). Or you could convert it to text and format it using this formula:

totext({table.date},"d-MMM-yy")

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top