date Format

gbanks

Registered User.
Local time
Today, 17:57
Joined
Feb 9, 2000
Messages
161
Looking for a special date format. I would like the user when the enter the date into a date field in my db to enter the date in this format 07302002 Is there a format I can put into a control on a form or on the table's format field so this will be the only format excepted. Thanks...
 
Last edited:
Whoa!

What could possibly be gained by showing short-date 07/30/02 (30-Jul-2002) in an unintelligible format (not recognized as a date by any programming language), i.e., 07302002? How does that work and what are the potential benefits?

Why would we ask our operators to input in such a cryptic manner? If there's a reason, in a report or form, to display the 07302002 format, we could do it with this:

mydate = #07/30/02#
? mydate
7/30/02
? format(month(myDate), "00") & format(day(myDate), "00") & format(year(myDate), "0000")
07302002

…but to lay that burden on the operators is an invitation for disaster.

Please review your logic.
 

Users who are viewing this thread

Back
Top Bottom