• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 225
  • Last Modified:

Access 2000 - Converting text field to date format

Dear Experts,

Can you please advise how to convert such text fields like "2011-04-12" to date format in Access?

thanks,
0
csehz
Asked:
csehz
2 Solutions
 
bc10Commented:
cdate("2011-04-12")
0
 
danishaniCommented:
You are using European date format, so I am not sure in your date which is the day/month.

Using the CDate() function will do the trick, then make sure that extracting the string in the right order, so the date you will get in return is the correct one.

HTH,
Daniel
0
 
csehzAuthor Commented:
Thanks very much
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now