Does anybody out there know how to change UTC to PST?
I’ve been banging my heads on the wall since yesterday and what I know
is only set time to PST instead of UTC. Please help…
m:x arie$ script/console
Loading development environment (Rails 2.0.2)
=> #<TimeZone:0x211c608 @utc_offset=-28800, @name=“Pacific Time (US &
=> Thu, 27 Mar 2008 03:37:05 PDT -07:00
=> Thu Mar 27 18:37:21 +0800 2008
a = Time.now
=> Thu Mar 27 18:41:20 +0800 2008
I only need to show that “a” in PST instead of UTC. Any ideas?
I always thought Smalltalk would beat Java, I just didn’t know it
would be called ‘Ruby’ when it did. – Kent Beck.