dateTime()
Last updated 8/08/2022
The dateTime()
is a function on the five
object which is used to return the current date and time in local time as a string. When using the dateTime()
on a table event the data
type must be DateTime
.
Available
Client
and Server
Function Signature
dateTime(): string;
Return Value
A string representing the local current date and time, formatted as yyyy-mm-dd hh:mm:ss.