I’m under the impression at Epoch is January 1, 1970 00:00:00
yet in irb I do Time.at(0) and it returns:
=> Wed Dec 31 17:00:00 Mountain Standard Time 1969
Is the five hour difference MST -> GMT ?
TIA
Stuart
I’m under the impression at Epoch is January 1, 1970 00:00:00
yet in irb I do Time.at(0) and it returns:
=> Wed Dec 31 17:00:00 Mountain Standard Time 1969
Is the five hour difference MST -> GMT ?
TIA
Stuart
Dark A. wrote:
I’m under the impression at Epoch is January 1, 1970 00:00:00
yet in irb I do Time.at(0) and it returns:
=> Wed Dec 31 17:00:00 Mountain Standard Time 1969Is the five hour difference MST -> GMT ?
Yes.
Hal
On Wed, 5 Jul 2006, Dark A. wrote:
I’m under the impression at Epoch is January 1, 1970 00:00:00
yet in irb I do Time.at(0) and it returns:
=> Wed Dec 31 17:00:00 Mountain Standard Time 1969Is the five hour difference MST -> GMT ?
TIA
Stuart
yup.
mussel:~ > ruby -e’ p Time.at(0).utc ’
Thu Jan 01 00:00:00 UTC 1970
-a
errr…7 hour difference, just to correct myself, but got it ! Thanks.
On Wed, Jul 05, 2006 at 07:05:31AM +0900, Dark A. wrote:
I’m under the impression at Epoch is January 1, 1970 00:00:00
yet in irb I do Time.at(0) and it returns:
=> Wed Dec 31 17:00:00 Mountain Standard Time 1969Is the five hour difference MST -> GMT ?
Err…seven hours? Yes, that’s the MST -> GMT difference.
Steve P.
[email protected]
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs