Short Time?

  • Thread starter Thread starter Cameo
  • Start date Start date
C

Cameo

What is the correct code to have the Now() be 8:22 pm?

Format(Now(),"Short Time") gives me military time.

Please help!

Thanks!

Cameo
 
'Short Time' is your system setting
(Start | Settings | Control Panel | Regional Settings)

To override your system setting,

Format(Now(),"h:mm am/pm")
or
Format(Now(),"h:mm AMPM")

(david)
 
'Short Time' is your system setting
(Start | Settings | Control Panel | Regional Settings)

To override your system setting,

Format(Now(),"h:mm am/pm")
or
Format(Now(),"h:mm AMPM")

that's actually h:nn - m is months, not minutes! Otherwise exactly
right.
 
that's actually h:nn - m is months, not minutes!

trips me every time....

(david)
 

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

Similar Threads

Time format in a statement 8
Time Format 1
time issuse 3
Military Time 6
Working Time calculation - from text to short time 2
short date, short time 2
Recordset Findfirst Date Issue 0
Time function 7

Back
Top