Date/Time Field

A

Ayala

I need a day time field which also accepts text.
I need to force the entry to this format: Ex.
08.08.2003/11.30 Swiss Time
21.10.2003/21.00 Mexico Time.

How can do this?? or the only solution is to use two
fields?
 
D

Douglas J. Steele

A date/time field cannot accept text. That's because a date/time field is
actually an 8 byte floating point number (the date is stored as the number
of days relative to 30 Dec, 1899, and the time is stored as a fraction of a
day).

Your only options are to store a date/time and a text field, or store the
entire thing in a text field (which would certainly limit what calculations
you'd be able to do).
 

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