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