ASP Date Problem

U

[UKLans]Khan

Guest
Hi guys,

I have a form that is submitted to an access database, on the form you enter a date in UK format:

dd/mm/yyyy

when submitting to the database it is fine if the date is higher than the month ie

30/06/2003
or
07/06/2003

The problem is when the day is smaller than the month! ie

05/06/2003

it changes this date to 06/05/2003!!!

What am I doing wrong, it does this on all dates!

Ta

Khan
 
D

danger

Guest
gah i'm sure there's something u can do with formatdatetime in VBScript... will look it up......
 
O

old.LeitMotif

Guest
you can try setting the LCID of the page to 2057.

eg

<%
Session.LCID=2057
%>

and then all your currency/date format should come out in uk style..

there are many different ways to do this.
 

Users who are viewing this thread

Similar threads

K
Replies
6
Views
594
[UKLans]Khan
U
P
Replies
2
Views
642
Panda On Smack
P
A
Replies
6
Views
644
[UKLans]Khan
U
M
Replies
9
Views
975
Krazeh
K
W
Replies
3
Views
438
Wilier
W
Top Bottom