Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, and 2013. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Entering the Current Time.

Entering the Current Time

by Allen Wyatt
(last updated April 8, 2019)

1

Some people like to use Excel to keep track of the time that they work on different jobs. If you want a quick way to enter the current time, simply select a cell and press Ctrl+: (that's the colon). Obviously, to access the colon you need to hold down the Shift key, so some people might express this shortcut as Shift+Ctrl+:. The result is that Excel places the current system time in the selected cell. All you need to do is press Enter to accept the time.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (9544) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel here: Entering the Current Time.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Formatting Footnote Reference Marks

The reference marks that appear for footnotes in a document are normally just superscripted digits. If you want to change ...

Discover More

Wildcards in 'Replace With' Text

When doing searches in Excel, you can use wildcard characters in the specification of what you are searching. However, ...

Discover More

Printing Based on Cell Contents

Would you like to have a worksheet automatically printed when a particular cell contains a specified value? You can ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!

More ExcelTips (ribbon)

Copying Rows between Worksheets Based on a Text Value

Want to move data from one worksheet to another based on a text value in a column. There are a couple of ways you can ...

Discover More

Copying Data without Leaving the Currently Selected Cell

Copying from one cell to another is easy when editing your worksheet. Doing the copying without selecting a cell other ...

Discover More

Clearing Everything Except Formulas

Need to get rid of everything in a worksheet except for your formulas? You can do it rather easily by applying the ideas ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is eight minus 8?

2019-04-08 14:40:44

Ron

To enter both the current date and time, enter Ctrl+; then space then Shift+Ctrl+; then Enter.

Unfortunately, recording that as a macro doesn't work as hoped; it simply records the date/time as a constant ... it always uses the date/time of when you originally RECORDED the macro, not the date/time of when you RUN the macro.

For time stamping, what I do is select the desired cell and run the macro below that I have stored in my PERSONAL.XLSB.

Sub TimeStamp()

' TimeStamp Macro
' Inserts the current date and time and retains it as a fixed value down to the second

ActiveCell.FormulaR1C1 = "=NOW()" ' Inserts the NOW() function
Selection.Copy ' Copies that cell into the clipboard
Selection.PasteSpecial Paste:=xlPasteValues ' Pastes that value back in as a constant
Selection.NumberFormat = "m/d/yy h:mm" ' Formats it using my default formatting
Application.CutCopyMode = False ' Clears the copy state
End Sub

Note: you may want to edit the Selection.NumberFormat line to use your own preferred format. Or, if you normally paste into cells that are already formatted with various date/time formats, you would want to just comment out that line.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.