Arc Forumnew | comments | leaders | submitlogin
1 point by thaddeus 5808 days ago | link | parent

So I changed it to: (putenv "TZ" ":MDT")

now I get....

  arc>(system "date")
  Tue 23 Jun 2009 00:57:10 UTC


1 point by CatDancer 5808 days ago | link

If you're going to set TZ, you need to set it to a valid TZ value, or else date is going to default to UTC.

http://www.gnu.org/s/libc/manual/html_node/TZ-Variable.html

But if you want it to use your normal system timezone, just don't set TZ.

-----