Main Content
today
(Not recommended; use datetime("today")
) Current
date
today
is not recommended because it returns a serial date number.
Instead, to return the current date as a datetime
value, use the
datetime
function with "today"
as the input
argument. For more information on updating your code, see Version History or Replace Discouraged Instances of Serial Date Numbers and Date Strings.
Description
returns the current date using an optional Date
= today(outputType
)outputType
. The type
of output is determined by an optional outputType
variable
input.