View Full Version : formatdatetime(mydate,1)
esthera
05-10-2007, 11:05 AM
I am doing
formatdatetime(mydate,1)
which is diplaying as 10 May 2007
I want it to say Thursday 10 May 2007 - How do I change that?
i don't know if it makes a difference but i'm using
Brandoe85
05-10-2007, 03:09 PM
Use the weekdayname and weekday functions to get the day:
http://www.w3schools.com/vbscript/func_weekdayname.asp
http://www.w3schools.com/vbscript/func_weekday.asp
And concatenate that before formatdatetime.
Good luck;
degsy
05-11-2007, 03:10 PM
or you can create your own custom function to handle it
http://computer-helpforum.com/asp/Dates/date_function.asp?theDay=11&theMonth=5&theYear=2007&theFormat=0&theDelimiter=3&theLeadingZero=1&theDayName=1&theMonthName=1&Submit=Submit
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.