Click here to Skip to main content
15,895,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when i save date 13-5-2013 it save date in database 13/5/2013 format but when i save date 07-5-2013
it save date 05/07/2013 format.why date save in different format?
Plz Some one Help me!
Posted
Updated 7-May-13 20:33pm
v5

When you are saving your dates to an Access Database, to ensure they are saved in the correct way (it changes depending on regional settings), you should format them #yyyy/mm/dd#

This will resolve your issue.
 
Share this answer
 
If u want store like that create a filed format as varchar
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900