convert american dates from a query
Hi Tom
On a UK machine the following is returned
? cdate("1 Dec 2005")
01/12/2005
? datevalue("1 Dec 2005")
01/12/2005
Regards
Roger Govier
Tom Ogilvy wrote:
VBA should understand that date format:
? cdate("1 Dec 2005")
12/01/2005
? datevalue("1 Dec 2005")
12/01/2005
I don't have a non US machine to test it on, but I think converting the
string in VBA to a dateserial should do what you need.
|