Viewing 4 posts - 1 through 4 (of 4 total)
This is the convDate function I use it when a user is typing in a date .
<%
'This function recieves a date from text string in format dd/mm/yy or...
January 5, 2005 at 2:38 pm
1) WHERE (DATEDIFF(d, datelogged, GETDATE()) = 1)
2) WHERE (despatchdate BETWEEN '" & convDate(dteFromDate) & "' AND '" & convDate(dteToDate) & "')
'Using function to massage date.
3) WHERE orderdate > Getdate()...
January 4, 2005 at 4:07 pm
Try this
CONVERT(Varchar(12),GetDate(),101)
Don't forget to change date type for other countries
REGARDS
Don
January 3, 2005 at 11:34 pm
Thanks for verifying it,.
Seems a bit of a loose end as far as security.
Don
January 27, 2004 at 11:29 pm
Viewing 4 posts - 1 through 4 (of 4 total)