ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Format Time (https://www.excelbanter.com/excel-worksheet-functions/101788-format-time.html)

Maverick

Format Time
 
How can I get the static time to include seconds? I can manually insert
using the Control+Shift+; and I can format the cell, but the seconds is
always 00.

Bob Phillips

Format Time
 
Ctrl-Shift-; always gives hours and minutes, not seconds (don't know why).

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Maverick" wrote in message
...
How can I get the static time to include seconds? I can manually insert
using the Control+Shift+; and I can format the cell, but the seconds is
always 00.




Gord Dibben

Format Time
 
Unfortunately, that is how Excel does it.

You can use =NOW() and copy/paste specialvalues immediately.

You could use a small macro attached to a button or a shortcut key.

Sub NOWTIME()
ActiveCell.Value = Format(Now(), "h:mm:ss AM/PM")
End Sub


Gord Dibben MS Excel MVP

On Thu, 27 Jul 2006 13:22:02 -0700, Maverick
wrote:

How can I get the static time to include seconds? I can manually insert
using the Control+Shift+; and I can format the cell, but the seconds is
always 00.




All times are GMT +1. The time now is 09:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com