Format General date format into short date when exporting

R

Ruthie

Hi, I have a table in Access that I am exporting into text, comma-delimited
file -- the exported dates are in general format (mm/dd/yyyy hh:mm:ss) --
while I needed those to be in the short date.

Thanks for any help.
 
W

Wayne-I-M

Hi

The normal method would be to create a query and export that, not the table.
You can create a calculated column and use the format function to set the
exported date format

SomeName: Format([DateField],"Short Date")

or

SELECT Format([TableName]![DateField],"Short Date") AS SomeName
FROM TableName;
 

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

Top