Is there an easy way to use client date/time in an asp page.
I normally use <%myDate=Now()%> and as the server is in the US then the date/time will not be correct as the US is 7 hours behind us. It's of course possible to add 7/24 to now() like this: <%myDate=Now()+7/24%> and that will be correct for me but not for users in another time zone.
The database rquires the date like this: mm/dd/yyyy
I want to use dd.mm.yyyy and when I enter 24.12.2001 then I get an error. If I enter 12.24.2001 it is accepted. Is there an easy way round this problem?
I normally use <%myDate=Now()%> and as the server is in the US then the date/time will not be correct as the US is 7 hours behind us. It's of course possible to add 7/24 to now() like this: <%myDate=Now()+7/24%> and that will be correct for me but not for users in another time zone.
The database rquires the date like this: mm/dd/yyyy
I want to use dd.mm.yyyy and when I enter 24.12.2001 then I get an error. If I enter 12.24.2001 it is accepted. Is there an easy way round this problem?