Insert the current date and time in a cell

Let's say that you want to easily enter the current date and time while making a time log of activities. Or perhaps you want to display the current date and time automatically in a cell every time formulas are recalculated. There are several ways to insert the current date and time in a cell.

What do you want to do?

Insert a static date or time

Insert a date or time whose value is updated

Insert a static date or time

  1. On a worksheet, select the cell into which you want to insert the current date or time.

  2. Do one of the following:

    • To insert the current date, press CTRL+; (semi-colon).

    • To insert the current time, press CTRL+SHIFT+; (semi-colon).

    • to insert the current date and time, press CTRL+; (semi-colon), then press SPACE, and then press CTRL+SHIFT+; (semi-colon).

Top of Page

Insert a date or time whose value is updated

To do this task, use the TODAY and NOW functions as shown in the following example.

Example

The example may be easier to understand if you copy it to a blank worksheet.

How do I copy an example?

  1. Select the example in this article.

Important   Do not select the row or column headers.

selecting an example from help in Excel 2013 for Windows

Selecting an example from Help

  1. Press CTRL+C.

  2. In Excel, create a blank workbook or worksheet.

  3. In the worksheet, select cell A1, and press CTRL+V.

Important   For the example to work properly, you must paste it into cell A1 of the worksheet.

  1. To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Formulas tab, in the Formula Auditing group, click the Show Formulas button.

After you copy the example to a blank worksheet, you can adapt it to suit your needs.

1

2

3

A

B

Formula

Description (Result)

=TODAY()

Current date (varies)

=NOW()

Current date and time (varies)

Note   The results of the TODAY and NOW functions change only when the worksheet is calculated or when a macro that contains the function is run. Cells that contain these functions are not updated continuously. The date and time that are used are taken from the computer's system clock.

For more information about how to use these functions, see TODAY function and NOW function.

Top of Page

Applies To: Excel 2007



Was this information helpful?

Yes No

How can we improve it?

255 characters remaining

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!

Support resources

Change language