Skip to main content

Excel Formula: Display Current Date and Time

Author: Sun Last Modified: 2021-01-06

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

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Description


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, Edge and Firefox.
Comments (2)
No ratings yet. Be the first to rate!
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
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")
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations