Quote:
|
Originally Posted by darkmunk
I need to do two things with date data.
The dates are inputted into QSL Server in this format. dd/mm/yyyy
I have a dynamic 'trip date' menu which comes out like this:
14/01/2006
29/01/2006
12/02/2006
18/02/2006
19/02/2006
24/02/2006
but I would rather it says: '14 January 2006' etc. any ideas?
I then want to bring up a page of all the trips in a certain month.
currently my page is hard-coded for March like this:
"SELECT * FROM dest_search WHERE start_date LIKE 'mar%2006%' ORDER BY start_date"
presumably I need a request.string but I think the slashes would mess up the url that sent it.
I'm sure there's an elegant solution to this (presumably) common problem but I can't find it.
Thanks
|
use..
<%= formatdatetime(Date,vblongdate) %>
or
<%= formatdatetime(Now,vblongdate) %> will show
Wednesday, December 07, 2005
Note: You might need to parse and arrange your records date format.
THe're also more arguments aside from vblongdate
they are...
vbGeneralDate
vbShortDate