Fix for daylight savings issue

Adding `_time2int(_getTimeValue(self))` to a unixtime assumes each day is 24 hours long;  this is not always the case in regions that have daylight savings time.

This change explicitly sets hours/minutes/seconds, rather than making said assumption.