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
703
[UKLans]Khan
U
P
Replies
2
Views
727
Panda On Smack
P
A
Replies
6
Views
765
[UKLans]Khan
U
W
Replies
3
Views
522
Wilier
W
M
Replies
9
Views
1K
Krazeh
K
Top Bottom