Search…
⌃K
Links

today

To return the current date (without time)
Here you can determine the current date, i.e. the respective day on which the function is executed.
Therefore, the function is used to calculate deadlines or durations for example that are based on the current date. It also helps to generate unique document numbers for invoices, etc.

Syntax

today()

Return

date

Examples

Your result format may be different depending on your settings.
1
today()
Result:
  • 12/31/2021 (US)
  • 31/12/2021 (UK)
on New Year's Eve 2021.
​
1
today() + 7
Result:
  • 12/31/2021 (US)
  • 31/12/2021 (UK)
on Christmas Eve 2021.
​
year(today())
Result: 2021 on New Year's Eve 2021.

See also

​now, which returns the current timestamp.
Last modified 2mo ago