Datetime.second read/write property



The Datetime.second property returns a number representing the second of the moment. Valid values are from 0 through 59.

Setting the second property with a value lower or higher will throw an error.

Example

-- prints the current number of seconds, for example "59" print(sys.Datetime().second)