a much nicer way to get the unix time