Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Export to Text Date/TimeFormat Question

Status
Not open for further replies.

smurfer

Programmer
Jun 8, 2001
57
US
I have a table that I am trying to export to a text file, it contains a date time field, i.e 12/12/2001 11:15 is what is shown in the DB. However although my input mask allows only an hh:nn input, when I export this to a text file, it pulls over seconds as well which I can not have. Is it possible to change this, I can not find anything within the export "advanced" options, can anyone help??
Thanks,
SM
 
You might try this to construct your text field:

? format$(now(), "short date") & " "& format$(cdbl(now())- int(cdbl(now())), "hh:nn")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top