Now()
date

Return value

Current time and date.

Description

Returns the current time and date.

Example:

if (DatePart(Now(), "yyyy") == 2023) { ... } // is it still 2023?