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