Convert a date into Unix time (seconds since the epoch) corresponding to the same day with the midnight hour.
(self)
| 267 | return tuple(ret) |
| 268 | |
| 269 | def ToUnixTime(self): |
| 270 | """Convert a date into Unix time (seconds since the epoch) corresponding |
| 271 | to the same day with the midnight hour.""" |
| 272 | return time.mktime(self.ToTimeTuple()) |
| 273 | |
| 274 | def ToCOMTime(self): |
| 275 | """Convert a date into COM format.""" |