NOW function

NOW returns the computer system date and time. The value is updated when you recalculate the document or each time that a cell value is modified.

Syntax

NOW()

Example

=NOW()-A1 returns the difference between the date in A1 and now. Format the result as a number.