Formating a Date

K

Kagsy

Dear all,

Thanks to all that responded to my previous Date Dilema
posting. It has helped me but I have a supplementary
question that follows on from one of John Vinson's
comments. Is there a difference between:

Format([datefield], "mm\/dd\/yyyy"), and
Format([datefield], "mm/dd/yyyy")

Do they amount to the same thing? Thanks for your help.

Kagsy
 
H

henk rooijakkers

Format([datefield], "mm\/dd\/yyyy") formats the date with the slash as date
separator in the output.

Format([datefield], "mm/dd\yyyy") formats the date with date separator in
the output defined in regional settings. This might be the slash but can be
any character. The slash is used as separator in the format specification.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

printing report with date 3
Text to date format? 0
Date Formats & Display 5
access, date field 1
Modifying Date Range 3
Date formats 1
Change MM/DD/YYYY to MM/DD/YY 5
Modifying Date Range 2 2

Top