With mm/dd/yy hh:nn as the format, it always displays 05/06/2009 09:45 as 05/06/2009 9:45.
How can I define the format such that the time can be displayed as “09:45”.
Thanks.
Armstrong
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
mm/dd/yy hh:nn
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » mm/dd/yy hh:nn
- This topic has 9 replies, 3 voices, and was last updated 16 years ago.
AuthorTopicViewing 3 reply threadsAuthorReplies-
WSZOR
AskWoody Lounger -
WSarmsys
AskWoody LoungerMay 6, 2009 at 5:04 pm #1159507Have you tried hh:mm, have not come accross hh:nn but I might be wrong.
Zor,
Thanks for your help. In accordance with the online help, the format specifiers for TIME should be:
h Hour in one or two digits, as needed (0 to 23).
hh Hour in two digits (00 to 23).
n Minute in one or two digits, as needed (0 to 59).
nn Minute in two digits (00 to 59).
s Second in one or two digits, as needed (0 to 59).
ss Second in two digits (00 to 59).
ttttt Same as the Long Time predefined format.
AM/PM Twelve-hour clock with the uppercase letters “AM” or “PM”, as appropriate.
am/pm Twelve-hour clock with the lowercase letters “am” or “pm”, as appropriate.The screenshot shows the property settings.
My core question: n and nn make no difference. But why?
System Info:
windows XP SP3
Access 2007 SP2Please help. Thanks.
Armstrong
-
WSJezza
AskWoody Lounger
-
WSZOR
AskWoody LoungerMay 7, 2009 at 1:41 am #1159541Thanks Jezza for correcting me, thats the problem with the blind leading the blind.
Feeling guilty, I looked around google, and found this to try. After the hh add :nn:ss, so you get hh:nn:ss. I tried it and got my screenshot, although showing all my output Does it do anything at your end?
-
WSarmsys
AskWoody LoungerMay 7, 2009 at 1:52 am #1159542Thanks Jezza for correcting me, thats the problem with the blind leading the blind.
Feeling guilty, I looked around google, and found this to try. After the hh add :nn:ss, so you get hh:nn:ss. I tried it and got my screenshot, although showing all my output Does it do anything at your end?
Zor,
Thanks for your help. I tried out your solution in vain.
Format property: mm/dd/yy hh:nn:ss
The screenshot shows the hours can’t be displayed as 2 digits. -
WSarmsys
AskWoody Lounger
-
WSZOR
AskWoody LoungerMay 7, 2009 at 10:37 am #1159592I just wonder if is something to do with your regional settings on your PC. I looked at mine and saw there were options for ommiting the leading zero on hours and minutes.
Another link I found was :
http://msdn.microsoft.com/en-us/library/aa227550(VS.60).aspx
-
WSarmsys
AskWoody LoungerMay 7, 2009 at 5:23 pm #1159644I just wonder if is something to do with your regional settings on your PC. I looked at mine and saw there were options for ommiting the leading zero on hours and minutes.
Another link I found was :
http://msdn.microsoft.com/en-us/library/aa227550(VS.60).aspx
Hi Zor,
Bingo! Your solution works like a charm. Previously I thought the format specifiers could have overridden whatever regional settings.
Thanks a lot for your help.
Armstrong
WSZOR
AskWoody LoungerViewing 3 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
1 minute ago -
Stay connected anywhere
by
Peter Deegan
5 hours, 33 minutes ago -
Copilot, under the table
by
Will Fastie
20 minutes ago -
The Windows experience
by
Will Fastie
2 hours, 19 minutes ago -
A tale of two operating systems
by
Susan Bradley
4 hours, 18 minutes ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
7 hours, 39 minutes ago -
Where’s the cache today?
by
Up2you2
22 hours, 59 minutes ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
15 hours, 45 minutes ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
6 hours, 44 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
23 hours, 41 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
1 day, 16 hours ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
1 day, 16 hours ago -
regarding april update and may update
by
heybengbeng
1 day, 17 hours ago -
MS Passkey
by
pmruzicka
19 hours, 46 minutes ago -
Can’t make Opera my default browser
by
bmeacham
2 days, 1 hour ago -
*Some settings are managed by your organization
by
rlowe44
1 day, 12 hours ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
2 days ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
2 days, 20 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
3 days, 5 hours ago -
AI slop
by
Susan Bradley
23 hours, 1 minute ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
3 days, 6 hours ago -
Two blank icons
by
CR2
14 hours, 34 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
16 hours, 31 minutes ago -
End of 10
by
Alex5723
3 days, 17 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
2 days, 15 hours ago -
test post
by
gtd12345
3 days, 23 hours ago -
Privacy and the Real ID
by
Susan Bradley
3 days, 14 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
1 day, 16 hours ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
4 days, 4 hours ago -
Upgrading from Win 10
by
WSjcgc50
2 days, 16 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.