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

How to display a date in a certain format? 1

Status
Not open for further replies.

scottew

IS-IT--Management
Joined
Mar 6, 2003
Messages
492
Location
US
I am trying to display the date in a certain format. In SQL, I have the field defined as datetime and 8 characters.

I have the following in the output...

Code:
<tr><td width="90%" height="18" colspan="3" class="eventDateHeader"><b>#getEvent.eventDate#</b></td></tr>

And it is displayed as 2008-10-02 00:00:00.0

How can I get it to be displayed as October 10, 2008?

Thanks in advance.
Scott





 
Thanks minli98, that did it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top