hi frnds i am trying to retrive the data in between two dates but its not getting the correct information...
here i took access database and i took the field datatype as date/time and i setted the datatype format as dd/MM/yyyy and in the visual studio also i took a datetime picker for selecting the date which is in the format of dd/MM/yyyy. it is storing in the correct format only but while retriving it is not getting the information correctly. for example....
select * from servicebills where [BillDate] between #05/10/2012 12:00:00 AM# and #05/10/2012 12:00:00 AM#
but the actual format of the date is 10/05/2012...
is there any other options for changing the date format of datetimepicker in vs studio...
Thanks & Regards
From:
Sai Kishore
kishoreknl.2007@gmail.com