ziwez0
asked on
UK DateFormat
it seems no matter what I try I cannot return correct date values from my select statement, fo example I have a calender
control which the user selects the date then click a button to run
string startdate = string.Format("#{0:dd/MM/y
select....WHERE ([dbx].[Arrival Date]= " + startdate + ")";
so i select 01/07/06 but returns 07/01/06
..help
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
e1v that did the job, (MM/dd/yyyy) so does that mean the db is setup in US Format?
I am getting it in the correct it in the correct format. I tried the same code that you have specified. I dont think you have any problem with your SelectedDate statement.
Thanks,
Anandavally P