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

Forcing the Properties Dialog Box to Appear

Do you want the Properties dialog box to appear when you first save a Word document? You can configure Word so that it ...

Discover More

Keep Your Headings in View

When working with lots of data rows, it is easy to forget what the column headings say. Here's how to keep those headings ...

Discover More

AutoFilling from a Custom List

AutoFill can be a real timesaver if you often work with set lists of data. You can define your own custom lists and then ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

More ExcelTips (ribbon)

Setting a Default for Shifting when Inserting

When you insert cells into a worksheet, Excel needs to know which direction it should shift the displaced cells. If you ...

Discover More

Entering Dates in Excel

When you type information into a cell, Excel tries to figure out what type of information you are entering. If Excel can ...

Discover More

Displaying Row and Column Labels

When you create a worksheet, it is common to place headings at the top of each column and the left of each row so you can ...

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 4 + 7?

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.