Formualizer Docs

TODAY

Returns the current date as a volatile serial value.

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

=TODAY()

Remarks

  • TODAY is volatile and recalculates each time the workbook recalculates.
  • The result is an integer date serial with no time fraction.
  • Serial output respects the active workbook date system (1900 or 1904).

Examples

Read the current date as a whole-day serial.

Formula =TODAY()

Expected result Date 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?.

Compute the date seven days from recalculation.

Formula =TODAY()+7

Expected result Date

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?.

Check the fractional part of today's date serial.

Formula =MOD(TODAY(),1)

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?.

TODAY has no time fraction

Formula =TODAY()=INT(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?.

Date arithmetic with TODAY

Formula =TODAY()+7-TODAY()

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?.

FAQ

Will TODAY include a time-of-day fraction?

No. TODAY always returns an integer serial date, so its fractional part is always 0.

Implementation

Engine source

On this page