Mastodon Mastodon
Excel Functions

How to Use Excel NOW Function?

The NOW function in Excel returns the current date and time from your system clock.

Examples of using NOW Function in Excel
Examples of using NOW Function in Excel
TL;DR

The NOW() function returns the current date and time based on your system clock. It updates automatically whenever the worksheet recalculates. The basic syntax of the NOW Function is =NOW(). Combine it with functions like EDATE, WORKDAY, or TEXT to create powerful, time-sensitive formulas. Note: It includes both date and time, unlike TODAY which gives only the date.

NOW Function: A Brief

The NOW function in Excel returns the current date and time based on your computer’s system clock. The NOW function will updates every time the worksheet recalculates or when the file is opened. It can be useful for the following scenarios:

  • Logging timestamps
  • Tracking task updates
  • Calculating durations or deadlines from the present moment.

NOW Function: A Syntax

=NOW() // Returns the current date and time from your device clock.
ObjectiveValue Returned by function
Aim to returns the date and time.NOW Function in Excel will returns the date and time based on your device’s clock and it varies real-time, whenever the file is opened.

NOW Function: Introduced in

The NOW function was introduced in Excel 1.0 and is a built-in function. If you want to recreate the working of the NOW function using formulas, you will need to manually combine functions as shown below.

=TODAY() + (HOUR(NOW())/24 + MINUTE(NOW())/1440)
Manual Formula to Return Current Date and Time
Manual Formula to Return Current Date and Time

By combining functions like TODAY, HOUR, NOW, and MINUTE with mathematical operations, you can get the current date and time based on your system clock. However, this type of formula is static. Once it returns a result, it does not update automatically every time you reopen the file, unlike the NOW function, which refreshes with the current date and time whenever the sheet is opened or recalculated.

By default, a formula may show only the date or only the time in a cell. To display both date and time, right-click the cell and choose the Format Cells option. In the Number tab, choose Custom, then in the Type field, select the dd-mm-yyyy hh:mm, and click the OK button.

Format Cells window
Format Cells window

Now the content in the cell will be updated with the date and time value as shown in the below image.

Formatting cells will display both date and time.
Formatting cells will display both date and time.

Examples of Using NOW Function with other Nested Functions:

In the example below, I’ve included 13 different scenarios showing how to use the NOW function together with other nested functions. Each case includes the formula, the output, and a brief explanation for clarity.

Using NOW Function with other Nested Functions
Using NOW Function with other Nested Functions

Example’s Explanation:

  • Case 1: The formula checks whether the current time is before noon or afternoon. If HOUR(NOW()) is less than 12, it returns “Morning” or else, it shows “Afternoon” as the output value.
  • Case 2: EOMONTH returns the last day of the current month. By subtracting TODAY(), the formula shows how many days are left in the month. Based on the current device’s clock, it may return 6 days remaining.
  • Case 3: The formula TEXT(NOW(), “hh:mm:ss”) displays only the current time, removing the date portion and showing it in HH:MM:SS format.
  • Case 4: It uses the WEEKDAY function to check if today is a weekday or weekend. If the result is 6 or 7, it returns “Weekend” or else, it returns “Weekday” as the output.
  • Case 5: This formula calculates total hours passed since midnight using HOUR(NOW()) + MINUTE(NOW()) / 60. The result is shown as a decimal, such as 12.38.
  • Case 6: It calculates how many hours are left in the day by subtracting the total passed hours from 24.
  • Case 7: This checks if the current time is within typical office hours (9AM to 5PM) using IF and AND with HOUR(NOW()). If true, it returns “Yes” as the output.
  • Case 8: The formula adds 15 minutes to the current time using NOW() + TIME(0,15,0), useful for setting reminders or future triggers.
  • Case 9: It subtracts 2 hours from the current time with NOW() – TIME(2,0,0), showing a time 2 hours earlier.
  • Case 10: TEXT(NOW(), “dddd”) returns the full name of the day, like “Thursday“, which is useful in dynamic headers or reports.
  • Case 11: FLOOR(NOW(), “1:00”) rounds the current time down to the nearest hour, removing minutes and seconds.
  • Case 12: The formula checks whether today is a Monday using WEEKDAY(NOW(), 2). If the result is 1, it returns “Yes”.
  • Case 13: SECOND(NOW()) extracts the current second value from the time.

You can download the NOW with other Nested Function Worksheet here: Download Now with Nested Functions.xls

Functions Used in the Examples:

FunctionUsed for
NOWReturns the current system date and time
IFPerforms logical checks to return different values based on a condition
HOURExtracts the hour portion from a time value
MINUTEExtracts the minute portion from a time value
SECONDExtracts the second portion from a time value
TEXTFormats numbers/dates as text in a specified format
EOMONTHReturns the last day of the month, x months before or after a given date
TODAYReturns the current date without time
WEEKDAYReturns a number representing the day of the week
ANDChecks if multiple conditions are TRUE
TIMECreates a time value from hours, minutes, and seconds
FLOORRounds a number down toward zero to the nearest multiple

That’s it.

Narendhiran Vijayakumar.

Feel free to comment us below, if you have any queries about the above topic and find more interesting excel tutorials on our homepage: Excel24x7.com.

Reference Contents:

Recently Published Tutorials:

Narendhiran Vijayakumar

Hello~ I’m Narendhiran Vijayakumar, a dedicated web developer with strong skills in both frontend frameworks and backend development with PHP. I enjoy creating websites that are user-friendly & user-interactive. I’ve successfully created and launched several platforms, including Klickaud.org, Forhub.io, and IMGCentury.com.

Find more about Narendhiran!

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button