getDate


General

getDate gets the current time and date.


Usage

Client:getDate()
Returns: <Array> date

Date contains as shown in the example:
- (number) miliseconds
- (number) seconds
- (number) minutes
- (number) hour
- (number) day
- (number) weekday
- (number) month
- (number) year
- (number) timestamp
- (string) locale
- (string) localedate
- (string) localetime


Limitations

Global limit 5 requests per minute.


Example

for name, value in pairs(Client:getDate()) do
	print(name, value)
end

getDate_1.png

Back to top