datetime.currentTime

This function returns the current time in the UTC timezone.

Syntax

datetime.currentTime()

Arguments

None

Returns

Type

Description

string

Current time in the UTC timezone.

Examples

The function datetime.currentTime() returns the current time in the UTC timezone.