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

Editing AutoText Entries Directly

Editing AutoText entries, and particularly deleting them, can be cumbersome if you have a lot of changes to make. There are a ...

Discover More

Summing Every Fourth Cell in a Row

Need to sum a series of cells that fits some regular pattern? Here are several ways that you can get the summation that you ...

Discover More

Counting the Instances of a Text String

Sometimes it is helpful to know how often a particular phrase appears within a document. If you need to know such a count, ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (ribbon)

Viewing Formula Results

When editing information in a cell, you may need to know the result of a portion of your formula. The shortcut described in ...

Discover More

Using Slashed Zeroes

To reduce the chances of confusion in presenting data, some people like to use zeroes with slashes through them. If you fall ...

Discover More

Ensuring Rows and Columns are Empty

Before you go about deleting rows and columns helter-skelter, it is a good idea to determine if there is anything in the row ...

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 3 + 8?

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.