P
Phil Henley
I'm trying to use the 'at' method in Time on some data pulled from an
OSX file:
Time.at(317192535.56501901)
And my result is off by 30 years. I assume this is because Ruby is
referencing the Unix epoch of 1/1/1970 and I need to reference the OSX
epoch of 1/1/2000. Is there an easy way to change this so I'm
referencing the OSX epoch?
OSX file:
Time.at(317192535.56501901)
And my result is off by 30 years. I assume this is because Ruby is
referencing the Unix epoch of 1/1/1970 and I need to reference the OSX
epoch of 1/1/2000. Is there an easy way to change this so I'm
referencing the OSX epoch?