Runtime: fixed unix_time and unix_localtime

They should return a round number of seconds.