Question
how to get Now() to display as mm/dd/yyyy hh:mm:ss?
I'm in the UK, and I have a form field that contains the
value <%=Now()%> to
get todays date. This gives me the following date format dd/mm/yyyy
hh:mm:ss
This is then used to INSERT into an MSSQL datetime field.
However, when it inserts it reverts to mm/dd/yyyy hh:mm:ss.
How can I ensure that the date that is in my form field is submitted in the
mm/dd/yyyy hh:mm:ss format that my MSSQL datetime field requires?
Thanks.
Nath.
get todays date. This gives me the following date format dd/mm/yyyy
hh:mm:ss
This is then used to INSERT into an MSSQL datetime field.
However, when it inserts it reverts to mm/dd/yyyy hh:mm:ss.
How can I ensure that the date that is in my form field is submitted in the
mm/dd/yyyy hh:mm:ss format that my MSSQL datetime field requires?
Thanks.
Nath.
