changing timezones

S

Sam Joseph

Hi,

Does anyone know how I can manipulate the timezone in ruby? I know that
I get a date from unix seconds like Time.at(secs), but how can I get
something like Time.at(secs, time_zone)? At the moment Time.at appears
to pull in the environment setting for timezone, which I could reset,
but that is not ideal ...

Many thanks in advance.
CHEERS> SAM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,260
Messages
2,571,308
Members
47,963
Latest member
NancyRyl51

Latest Threads

Top