andycharger
Well-known member
- Joined
- Apr 2, 2003
- Messages
- 152
I am having a problem with dates (still)
I have a date 0f 1st April 2003
In the UK (where I am) it would read as "01/04/2003"
I am parsing my string before sending it in a SQL statment like this
The problem is that this is converting it in the database to "04/01/2003" (american format)
What do I need to do in my parse command to ensure it goes in my DB as "01/04/2003"????
Help please!!!
I have a date 0f 1st April 2003
In the UK (where I am) it would read as "01/04/2003"
I am parsing my string before sending it in a SQL statment like this
Code:
strDate = DateTime.Parse(Request.Form("txtDateRec"))
The problem is that this is converting it in the database to "04/01/2003" (american format)
What do I need to do in my parse command to ensure it goes in my DB as "01/04/2003"????
Help please!!!