Use squirrel for timestamp stuff (wtf GTAC)

This commit is contained in:
Vortrex
2022-06-27 16:39:52 -05:00
parent 91bfed4f8e
commit 5f687b7b01
3 changed files with 34 additions and 18 deletions

8
scripts/client/time.nut Normal file
View File

@@ -0,0 +1,8 @@
function getCurrentUnixTimeStampSquirrel() {
return time();
}
function getTimeStampOutput(timeStamp) {
local dateObj = date(timeStamp);
return dateObj.hour + ":" + dateObj.minute + ":" + dateObj.second;
}