In the text box format property, I set "d mmm yy, hh:nn", but the hour
leading zero still doesn't show up. For example, it shows "2 Oct 04, 1:00"
instead of "2 Oct 04, 01:00". Do you know how to fix it?
> >I would like to format a date/time field, such that, the time component is
> >displayed in 24 hours format. How do I ensure a leading zero is added to time
[quoted text clipped - 7 lines]
> mm/dd/yy hh:nn
> do what you want?
Marshall Barton - 23 Mar 2005 20:27 GMT
Interesting! I set a text box's Format property to:
d mmm yyyy hh:nn
and it left out the 0 as you said.
I then tried using another text box with the expression:
=Format(textbox1, "d mmm yyyy hh:nn")
and the 0 was included.
Exact same format string, but different results!??
If/how you can utilize that information, depends on your
specific situation.

Signature
Marsh
MVP [MS Access]
>In the text box format property, I set "d mmm yy, hh:nn", but the hour
>leading zero still doesn't show up. For example, it shows "2 Oct 04, 1:00"
[quoted text clipped - 11 lines]
>> mm/dd/yy hh:nn
>> do what you want?