m using this code:
expr_dte1 = FormatDateTime(expr_dte1,0)
'response.write expr_dte1
st_dte1 = FormatDateTime(st_dte1,0)
'response.write st_dte1
if expr_dte1 < st_dte1 then
MM_abortEdit = true
emsg(e) = "start date cannot be greater than expiration date"
e = e + 1
end if %>
I get this message if I put Start date as 10/16/2005 and end date as 10/10/2005.
But if I enter st date :8/16/2005 and end date 10/10/2005. I still get the message becos there is 8 instead of 08.
How to solve this.
thanks