GetFullTime
From Liberty Unleashed Wiki
Note: This function is deprecated. Its use is discouraged as it may be removed in a future update. It is recommended that Squirrel's system library function, date() be used instead.
This function returns a string containing the current date and time.
Syntax
string GetFullTime()
Arguments
- none
Example
This example tells the player what the current date and time is, when they type '/date'
function onClientCommand( cmd, text ) { if ( cmd == "date" ) { Message( "Current Date and Time: " + GetFullTime() ); } return 1; }
Notes
The function Message and call onClientCommand were used in this example. More info about them in corresponding pages.
Related Functions
- GetDistance
- GetDistance2D
- GetFullTime
- GetTickCount
- GetTime
- GetTok
- InPoly
- IsIn
- IsNum
- NumTok