Note: The other languages of the website are Google-translated. Back to English

Excel Formula: Display Current Date and Time

doc convert date to julia 1

In this tutorial, it provides the formulas to display the current date and time in Excel.

If you want to follow along with this tutorial, please download the example spreadsheet.
doc convert date to julia 1

Display current date only

 

Generic formula:

TODAY()

Return Value

The formula returns to a date.

How this formula works

In a cell, type the formula :

=TODAY()

Press Enter key to get the current date.
doc convert date to julia 1

Remark

The current date will automatically change as the date changes. If you want to insert a fixed current date, you can use the shortcut Ctrl + ; to insert the fixed current date into a cell.

Display current date and time

 

Generic formula:

NOW()

Return Value

The formula returns to a date.

How this formula works

In a cell, type the formula :

=NOW()

Press Enter key to get the current date.
doc convert date to julia 1

Usually, the cell is formatted as short date. To display the time fully, you need to change the cell formating to date time.

Press Ctrl + 1 to display the Format Cells dialog, under Number tab, choose Custom from the Category list, then type m/d/yyyy h:mm:ss into the Type textbox.
doc convert date to julia 1

Click OK, then the current date and time have been displayed fully.
doc convert date to julia 1

Remark

The current datetime will automatically change as the datetime changes. If you want to insert a fixed current time, you can use the shortcut Shift +Ctrl + ; to insert the fixed current time into a cell.


Relative Formulas

Relative Functions


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)
Comments (2)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
=TEXT(TODAY(),"DD mm/dd/yyyy")&" " & IF(HOUR(NOW())>12,HOUR(NOW())-12,HOUR(NOW()))&IF(MINUTE(NOW())<10,":0"&MINUTE(NOW()),":"&MINUTE(NOW()))&IF(HOUR(NOW())>11," pm"," am")
This comment was minimized by the moderator on the site
ijin suhu, mau tanya bagaimana caranya jika saya ingin membuat tanggal tetap jika kondisi terpenuhi
misalnya
pada tes melompat
pada tanggal 06 Juni 2022, budi berhasil lulus tes, maka hasilnya muncul tanggal 06 juni 2022
kemudian tangal 07 juni 2022, andi berhasil lulus , maka keluar hasil tanggal 07 juni 2022
tanggal 08 juni 2022, badu berhasil lulus, maka keluar hasil tanggal 08 juni
dst...
akan tetapi di worksheet tersebut jika dibuka di tanggal 09 juni, maka datanya tidak berubah
yakni budi tetap muncul hasil tanggal 6 juni, andi tanggal 7 juni dan badu tanggal 08 juni

mohon pencerahan
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations