datetime.current
This function returns the current datetime in the UTC timezone.
Syntax
datetime.current()
Arguments
None
Returns
Type |
Description |
---|---|
datetime |
Current datetime in the UTC timezone. |
Examples
The function datetime.current()
returns the current date and time.