How to convert long/milliseconds to DateTime?
Java developer making the switch. I have timestamps stored in Oracle as
a long (gotten from java.sql.Timestamp - milliseconds from some day in
1970). Is there a way to convert that long back into a Ruby
Date/DateTime/Time . Any of these would do.
Did not find a method in the library...
Posted via http://www.ruby-forum.com/.
|All times are GMT. The time now is 08:11 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.