======time======
Gets the current time.
\\
**Syntax**
* ''[[PTPScript:Types:Mixed|Mixed]] time( [ [[PTPScript:Types:Number|Number]] type ] )''
\\
**Parameters**
* [[PTPScript:Types:Number|Number]] ''type'' - How to return the time.
* ''0'' (default) - Return the time in whole seconds, as an integer Number.
* ''1'' - Return the time with microseconds, as a floating-point Number.
* ''2'' - Return the time with microseconds, as a String. The String will consist of the microseconds, followed by a space, followed by the seconds.
\\
**Result**
* [[PTPScript:Types:Mixed|Mixed]] - The current time as a Unix timestamp (the number of seconds since the Unix epoch, which was 01 January 1970 00:00:00 GMT).
* [[PTPScript:Types:Number|Number]] - If ''type'' is ''0'' or ''1''.
* [[PTPScript:Types:String|String]] - If ''type'' is ''2''.
Returns the current time as a Unix timestamp.
Getting the time as a String is generally far more precise than getting it as a floating-point Number, as more decimal places can be provided.