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