Instead of doing an explicit division by 1000, you could also consider using the :millisecond
option of Time.at()
> Time.at(0, 1475001600029, :millisecond)2016-09-27 18:40:00 +0000
Instead of doing an explicit division by 1000, you could also consider using the :millisecond
option of Time.at()
> Time.at(0, 1475001600029, :millisecond)2016-09-27 18:40:00 +0000