Parsing TIME from long values