Hi all,
In classic asp and asp.net using the following code ...
returns two different outputs,
in classic asp
7/14/2009 6:01:20 PM
and in asp.net
14/07/2009 18:01:24
because of the different placement of the day/mouth (and maybe because of the 24 hours time ?) the asp.net version is playing havoc with my SQL database.
the question is, is there an easy way to make asp.net return the old classic asp version of the "Now()" function ?
Thanks.
In classic asp and asp.net using the following code ...
Code:
<%=Now()%>
in classic asp
7/14/2009 6:01:20 PM
and in asp.net
14/07/2009 18:01:24
because of the different placement of the day/mouth (and maybe because of the 24 hours time ?) the asp.net version is playing havoc with my SQL database.
the question is, is there an easy way to make asp.net return the old classic asp version of the "Now()" function ?
Thanks.