Formualizer Docs

NOW

Returns the current date and time as a volatile datetime serial.

The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.

Syntax

=NOW()

Remarks

  • NOW is volatile and may produce a different value at each recalculation.
  • The integer part is the current date serial; the fractional part is time of day.
  • Serial output respects the active workbook date system (1900 or 1904).

Examples

Read the current date and time as a spreadsheet serial.

Formula =NOW()

Expected result Date and time serial number

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Combine today's date with the fractional time returned by NOW.

Formula =TODAY()+MOD(NOW(),1)

Expected result Date and time

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Strip the fractional time and inspect the whole-day portion of the serial.

Formula =INT(NOW())

Expected result Number

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

NOW includes today's date

Formula =INT(NOW())=TODAY()

Expected result Logical value

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

NOW is at or after TODAY

Formula =NOW()>=TODAY()

Expected result Logical value

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

FAQ

How do I isolate only the time portion from NOW?

Use NOW()-INT(NOW()); the integer part is date serial and the fractional part is time-of-day.

Implementation

Engine source

On this page