[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

How to convert long/milliseconds to DateTime?

Mike Nospam

10/24/2006 7:16:00 PM

Hi,

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...

Thanks,

Mike

--
Posted via http://www.ruby-....