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!

Formatting a Date Field

Status
Not open for further replies.

mdr2273

Programmer
Sep 4, 2006
22
US
How can I format a date field of the value say "9/6/2006" to show as Weds, Sept 6th?

 
try this...

mydate=now()
response.write weekdayname(mydate) & monthname(mydate) & day(mydate)

-DNG
 
It is giving me an error on the weekdayname function
 
sorry...it should be

mydate=now()
response.write WeekdayName(Weekday(mydate))) & monthname(mydate) & day(mydate)


-DNG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top