Z
Zach Dennis
I:\>irb
irb(main):001:0> Time.now
=> Wed Nov 26 11:29:24 Eastern Standard Time 2003
irb(main):002:0> Time.now.gmtime
=> Wed Nov 26 16:29:29 UTC 2003
irb(main):003:0>
I need to be able to return the zone by it's numeric representation(
i.e. -0500 ). Like
Wed Nov 26 16:29:29 UTC 2003 -0500
by chance.
I cannot find a function to do this. Is it built in or can i request an
addition?
Thanks,
Zach
irb(main):001:0> Time.now
=> Wed Nov 26 11:29:24 Eastern Standard Time 2003
irb(main):002:0> Time.now.gmtime
=> Wed Nov 26 16:29:29 UTC 2003
irb(main):003:0>
I need to be able to return the zone by it's numeric representation(
i.e. -0500 ). Like
Wed Nov 26 16:29:29 UTC 2003 -0500
by chance.
I cannot find a function to do this. Is it built in or can i request an
addition?
Thanks,
Zach