WATANABE Hirofumi
9/22/2006 3:32:00 AM
Hi,
Hunter Walker <walkerhunter@gmail.com> writes:
> My XML request returned a date field as a "string" with the value of
> 1158364800000
> Does Ruby have a function to turn this into a date?
% ruby -e 'p Time.at("1158364800000".to_i / 1000.0).utc'
Sat, Sep 16 2006 00:00:00 +0000
--
eban