Function 14: NOW()
📘 Definition:
The NOW() function returns the current date and time based on your computer’s system clock.
It’s a volatile function, meaning it updates automatically whenever the sheet recalculates or reopens.
In India, this is widely used for:
-
Recording real-time entry timestamps
-
Tracking system login/logout times
-
Automating invoice creation or stock entry dates
-
Adding last updated information in dashboards
🧩 Syntax: =NOW()
(No arguments required)
🧠 Example (Indian Perspective):
| Formula | Result (Example Output) |
|---|---|
=NOW() |
25-10-2025 08:35 PM |
=TEXT(NOW(),"dd-mmm-yyyy hh:mm:ss AM/PM") |
25-Oct-2025 08:35:48 PM |
✅ Explanation:
-
The date and time will automatically change to the current system time whenever the workbook recalculates.
-
It shows both date and time by default.
🪜 Step-by-Step Explanation:
-
In any cell, type
=NOW() -
Press Enter → You’ll instantly see your current date & time (as per computer clock).
-
You can format it as:
-
Date only:
=TEXT(NOW(),"dd-mmm-yyyy") -
Time only:
=TEXT(NOW(),"hh:mm AM/PM")
-
-
To freeze the current time (so it doesn’t change), copy the cell → Paste Values.
💡 Tip:
To get only the current date (without time), use the TODAY() function (we’ll cover it soon).
You can also calculate time differences like this:
👉 This will return how many days (and fractions of days) have passed since the date in A2.
🎯 Why It’s Useful:
-
Keeps your reports time-stamped automatically
-
Perfect for attendance, log systems, order entry, or real-time dashboards
-
Great for marking submission times in educational systems or ticket generation in support systems.
🧑💻 Project Task 1: Attendance Timestamp Tracker
| Employee ID | Name | Login Time | Logout Time | Total Hours |
|---|---|---|---|---|
| E101 | Aritra Sen | |||
| E102 | Priya Das | |||
| E103 | Raj Kumar |
👉 Tasks:
-
When an employee logs in, record
=NOW()in Login Time. -
When they log out, again use
=NOW()in Logout Time. -
Calculate total working hours:
(Multiply by 24 to convert days to hours.)
-
Format cells properly for Time: hh:mm:ss AM/PM
Bonus Tip:
Use keyboard shortcut Ctrl + ; for current date and Ctrl + Shift + ; for current time.
🧑💻 Project Task 2: Real-Time Order Tracking Dashboard
| Order ID | Product | Order Received Time | Dispatched Time | Delivery Time (hrs) |
|---|---|---|---|---|
| O101 | Laptop | |||
| O102 | Headphones | |||
| O103 | Keyboard |
👉 Tasks:
-
Record order received time using
=NOW(). -
Record dispatch time later with
=NOW(). -
Calculate delivery duration:
-
Use conditional formatting to highlight orders dispatched after 3 hours.