nowUtc

Top  Previous  Next

This function creates a date object set to the current UTC time.

Definition

myDate = date.nowUtc()

 

Name

Type

Description

myDate

Date Object

The date object set to the current UTC time.

 

Example

myDate = date.nowUtc()

print(myDate)

 

 

prints

 

Mon Oct 15 14:10:15 2012

Related

Time object

Date object

Availability

Lua