Per the Ruby docs:
myTime = Time.at(1298011537289)
or since you're using milliseconds rather than seconds:
myTime = Time.at(1298011537289 / 1000)
But that will only remove sub-second precision, to retain it:
myTime = Time.at(Rational(1298011537289, 1000))
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…