Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, and 2016. 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: Quickly Entering Dates and Times.

Quickly Entering Dates and Times

by Allen Wyatt
(last updated June 11, 2016)

4

If you are looking for a quick way to enter the current date or time into a cell, Excel provides an excellent shortcut. To enter the current date, just select a cell and press Ctrl+; (that's the semicolon). Closely akin to that is entering the time, which is done by using Ctrl+: (that's the colon), which is really executed as Ctrl+Shift+;.

These shortcuts work even when you are entering formulas. For instance, let's say you wanted to have today's date as a string (within quote marks) in a formula. All you need to do is enter your formula, up to the first quote mark. Then type Ctrl+; and the date appears in the formula. Type your closing quote mark, and you can continue with your formula.

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

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

Understanding At Least Line Spacing

Line spacing is used to control how close lines are to each other within a paragraph. Word allows you to specify several ...

Discover More

Using the EOMONTH Function

If you need to determine the date of the last day in a month, it's hard to beat the flexibility of the EOMONTH function. ...

Discover More

Copying All Tables to a New Document

Need to make a copy of every single table in a document? There's a quick and easy way to do it using the macro in this tip.

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Getting Help when Entering Functions

Need a quick memory jog when entering a worksheet function? Here's a shortcut that will be invaluable.

Discover More

Swapping Two Cells

If you need to swap the contents of two cells in your worksheet, Excel provides a number of ways you can approach the ...

Discover More

Dates Copied Incorrectly

Under the right circumstances, you may notice problems when copying dates from one workbook to another. This tip explains ...

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 5 + 2?

2016-06-13 03:16:21

Mark Vassallo

Excellent tip which I use all the time.

If you need the date AND time in the same cell you can combine the two shortcuts above and add a space in between.
e.g. Ctrl+; space Ctrl+Shift+;
The date and time in this cell can then be used in calculations.
The value entered will be static and will be fixed at the time it is entered.


2016-06-12 03:26:45

Peter Moran

Hi,

Clifton - Static

Interesting approach to Dates and Times in the following URL:

http://dailydoseofexcel.com/archives/2013/10/18/entering-times-into-cells/


2016-06-11 12:33:10

Clifton

Are the date and time entered this way in a formula static or dynamic?


2016-06-11 12:03:26

Marcel Beugelsdijk

It should be noted that time will be truncated to hh:mm when using Ctrl+Shift+; (or Ctrl+:).


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.