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-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
How to convert long/milliseconds to DateTime?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password