FormatDateTime("11/05/2003", 2) will equal 11/5/2003
11/05/2003 and 11/5/2003 are not read the same way in .asp
The problem:
<% If FormatDateTime("11/05/2003", 2) > FormatDateTime("11/12/2003", 2) Then %>
YES
<% Else %>
NO
<% End If %>
This code states that 11/5/2003 is greater than 11/12/2003, which is not correct.
I tried all the examples in the ASP FAQ 3195 and none worked. DAY("11/05/2003"
still outputs 11/5/2003. I need a way to get the above if - then - else statement to read NO. Any suggestions?
11/05/2003 and 11/5/2003 are not read the same way in .asp
The problem:
<% If FormatDateTime("11/05/2003", 2) > FormatDateTime("11/12/2003", 2) Then %>
YES
<% Else %>
NO
<% End If %>
This code states that 11/5/2003 is greater than 11/12/2003, which is not correct.
I tried all the examples in the ASP FAQ 3195 and none worked. DAY("11/05/2003"