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