J
J Patrick
I have a relatively large Access App with lots of forms displaying lots of
dates. Many of the dates contain both date and time elements. This
application is used globally, so the dates need to be able to display
according to the user's Regional Settings. Unless someone else has a better
alternative, the only way I know to accomplish this without have to write
code to change all date formats at runtime is to use standard named formats
(i.e. Short Date, Long Date, General Date, etc.)
PROBLEM: The "General Date" setting for most individuals is longer than the
format that I wish to display in order to conserve space on the form. For
example, instead of displaying "12/21/2006 1:45 PM", I need to display it as
"12/21/06 13:45". Basically, the format I need is a combination of the Short
Date and Short Time formats.
Although I would prefer not to, I've tried having users change their "Date"
and "Time" settings in the Regional Settings to "MM/dd/yy" and "H:mm". When
doing this, Access displays the date part properly and doesn't display the
AM/PM, but it does display the seconds. This defeats the purpose of trying
to save space and makes it difficult to edit dates when the input mask
doesn't contain a space for the seconds.
Any help would be greatly appreciated!
dates. Many of the dates contain both date and time elements. This
application is used globally, so the dates need to be able to display
according to the user's Regional Settings. Unless someone else has a better
alternative, the only way I know to accomplish this without have to write
code to change all date formats at runtime is to use standard named formats
(i.e. Short Date, Long Date, General Date, etc.)
PROBLEM: The "General Date" setting for most individuals is longer than the
format that I wish to display in order to conserve space on the form. For
example, instead of displaying "12/21/2006 1:45 PM", I need to display it as
"12/21/06 13:45". Basically, the format I need is a combination of the Short
Date and Short Time formats.
Although I would prefer not to, I've tried having users change their "Date"
and "Time" settings in the Regional Settings to "MM/dd/yy" and "H:mm". When
doing this, Access displays the date part properly and doesn't display the
AM/PM, but it does display the seconds. This defeats the purpose of trying
to save space and makes it difficult to edit dates when the input mask
doesn't contain a space for the seconds.
Any help would be greatly appreciated!