Advanced Search
Stay Signed In
Don't have an account yet?
Start a Free Trial
Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The Ruby Way: Solutions and Techniques in Ruby Programming, Third Edition
Feedback: 0 Comments on this Section
The accessor zone in the Time class returns a String representation of the time zone name.
z1 = Time.gm(2000,11,10,22,5,0).zone # "GMT-6:00" z2 = Time.local(2000,11,10,22,5,0).zone # "GMT-6:00"
You are currently reading a free preview of this book.
Sign up for aSafari Library subscriptionto access Rough Cuts.
Subscribe Now
Feedback: 0 Comments on this Section