Winter '26 (API version 65.0)
Newer Version Available
Use now() to get the current time. You can use these functions with DateTime, DateOnly, or Date types.