Global Function
Declaration
func millis() -> Int
Parameters
Returns
Int
Description
Returns the number of milliseconds between the date value and 00:00:00 UTC on 1 January 1970.
Examples
var m = millis()
Related
year()
month()
day()
hour()
minute()
second()
millis()
nanosecond()