dannyman.toldme.com

About Me : Free Style : Good Reads : News and Reaction : Photographs : Technical : Travels : Unsorted

Search:
November 1, 2004
FreeBSD, Technical

FreeBSD: Overriding the System Timezone

I just stumbled on this. My e-mail server is in California, but I am in Chicago. However, I launched my current screen before we ran tzsetup on the server, so my IRC window and mutt were displaying times in GMT.

Now the server is displaying times in Pacific time. Yet for my login shells it is displaying in Central time. How?

1-10:29 djh@ratchet ~> grep TZ .tcshrc 
setenv TZ CST6CDT

Per tzset(3) you can set the TZ environment variable to a value in /usr/share/zoneinfo, which is what I did.

This is FreeBSD. YMMV on different Operating Systems. And of course, Apache will continue to display information for your web pages according to the system, unless you change the Apache user around.

Read More

Next: Alien-chan!
Previous: Four More Days
Categories: FreeBSD, Technical
Possibly-Related Posts
“Indiana Time”
HOWTO: Verify a PGP Signature
“That’s usually not one expect”
Windows File Synchronization
Shaddup, Firefox!
MySQL Database Slave Did Catch Up!
Any Given Subject

Comment / Tip

. . . or leave a Tip

Leave a comment . . .

  1. For private messages, e-mail me: dannyman@toldme.com
  2. I will not publish or share your e-mail address.
  3. I will not spam you.
  4. Therefor: no anonymous posts; send me your e-mail address!
(required)
(required)

. . . comments from new posters will be held for screening.

Danny Howard is 100% responsible for the content on this site, except some of it is stolen.

All rights are reserved, unless otherwise noted. Generally, I'm a BSD guy, so you can assume implicit permission to adapt, modify, and redistribute my intellectual property with appropriate attribution. Except some of this content is itself re-appropriated, so you'd best ask first, especially for commercial use. Thanks!

You can contact me via e-mail: dannyman@toldme.com

Most of http://dannyman.toldme.com/ is powered by WordPress.

If you're hip to RSS and whatnot, you can subscribe to this site.

These links are for dannyman: login AND backlinks