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!

Formatting DB date field in an ASP page

Status
Not open for further replies.

EdRev

Programmer
Joined
Aug 29, 2000
Messages
510
Location
US
I have a date field on an Access database that has a longdate format (Thursday, July 04, 2003).

When I retrieved this field into my asp page
<%=dateset(&quot;datefld&quot;)%>, the format was changed to 7/4/03.
How can I format it to July 4, 2003?

Any help will be greatly appreciated.
 
You could use the FormatDateTime() function. Chances are you would want to use the LongDate format.

--------------------------------------------------------------------------------------------------------------------------
Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so.
--Douglas Adams
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top