• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

A function for the current time?

TODAY ( ) returns the current date and NOW ( ) returns the current date and time.

But what if I want a function that returns the current time only? Is there a function for this?
 
Hi,
Just an alternate...

You can use =NOW() function to display only time, just change the cell format:
hh:mm
or
h:mm AM/PM
 
You have to manipulate now() to get the current time.

Another one...
=TEXT(NOW(),"HH:MM:SS am/pm")
 
Hi Khalid ,

The problem with using cell formatting to display only the time component is that the underlying value in the cell remains a large decimal value inclusive of the date component.

If the value is only the time component , then it will be a decimal value between 0 and 1.

Narayan
 
Back
Top