DateTime.getSeconds

Retrieves the number of seconds since the start of the last minute, including the fractional part. Since 2.26

class DateTime
double
getSeconds
()

Return Value

Type: double

the number of seconds

Meta