datetime.now

This function returns the current date and time in the UTC timezone.

Syntax

datetime.now()

Arguments

None

Returns

Type

Description

string

Current date and time in the UTC timezone.

Examples

The function datetime.now() returns something like 2020-03-19T15:02:03+06:00.