To format a date field in a query, create a new field similar to the following:
DateFormat: Format([DateField],"Short Date") or
DateFormat: Format([DateField],"mm/dd/yy")
A Date - regardless of format - is stored as a Double Float number; the
integer part is the number of days since December 30, 1899 and the fractional
part is the fraction of a day since midnight.
If you're displaying the data on a Form or Report, use a textbox with whatever
date format you like. If you're displaying the data in a query datasheet...
well, don't; that's not their purpose! But you can set the Format of a query
field if you wish.
John W. Vinson [MVP]
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.