Time zone setting and daylight saving

User discussion and information resource forum for Image products.
Post Reply
goodboot
Posts: 3
Joined: Thu Dec 05, 2013 8:59 pm

Time zone setting and daylight saving

Post by goodboot »

Hi everyone,

Currently, daylight saving is in force where I live. My current time is 11 hours ahead of UTC (+11). Without daylight saving, standard time is +10. My BIOS clock is set to local time (currently, +11). Which of the following is the correct way to set the time zone in Image for Dos and Image for Linux?

TimeZone=EST-10EDT

Or

TimeZone=EST-11EDT

If the latter is correct, then is it necessary to edit ifl.ini when I adjust the BIOS clock back to standard time?

Thanks!
TeraByte Support(TP)
Posts: 305
Joined: Wed Aug 31, 2011 4:22 pm

Re: Time zone setting and daylight saving

Post by TeraByte Support(TP) »

goodboot wrote:
> Hi everyone,
>
> Currently, daylight saving is in force where I live. My current time is 11
> hours ahead of UTC (+11). Without daylight saving, standard time is +10. My
> BIOS clock is set to local time (currently, +11). Which of the following is
> the correct way to set the time zone in Image for Dos and Image for Linux?
>
> TimeZone=EST-10EDT
>
> Or
>
> TimeZone=EST-11EDT
>
> If the latter is correct, then is it necessary to edit ifl.ini when I
> adjust the BIOS clock back to standard time?
>
> Thanks!

You would use the offset in effect when you're on standard time, so it would be:
TimeZone=EST-10EDT

There's no need to change the setting when you switch from standard to savings time, or the reverse. It uses the default 1 hour offset if you're using savings time - which you tell it you are using by putting the "EDT" at the end. This web page has more information on it:

http://www.gnu.org/software/libc/manual ... iable.html
goodboot
Posts: 3
Joined: Thu Dec 05, 2013 8:59 pm

Re: Time zone setting and daylight saving

Post by goodboot »

Thank you for your help.

Are the start field and the end field of any use? Is it okay to write the following in ifl.ini?

TimeZone=EST-10EDT,M10.1.0/2,M4.1.0/3

Thank you.
TeraByte Support(TP)
Posts: 305
Joined: Wed Aug 31, 2011 4:22 pm

Re: Time zone setting and daylight saving

Post by TeraByte Support(TP) »

goodboot wrote:
> Thank you for your help.
>
> Are the start field and the end field of any use? Is it okay to write the
> following in ifl.ini?
>
> TimeZone=EST-10EDT,M10.1.0/2,M4.1.0/3
>
> Thank you.

In IFL, it would be accepted and passed through to the 'TZ' environment variable. But the extra information about when savings time starts and ends will not usually be necessary anyway, because it's built into libc and already known.

For IFD, the following KB article has all the info that I'm aware of as far as setting the Time Zone
http://www.terabyteunlimited.com/kb/article.php?id=260
DrTeeth
Posts: 1289
Joined: Fri Aug 12, 2011 6:58 pm

Re: Time zone setting and daylight saving

Post by DrTeeth »

On Thu, 5 Dec 2013 15:22:43 PST, just as I was about to take a herb,
goodboot disturbed my reverie and wrote:

>when I adjust the BIOS clock back to standard time?

I always keep my BIOS on UTC.
--

Cheers,

DrT

** Stress - the condition brought about by having to
** resist the temptation to beat the living daylights
** out of someone who richly deserves it.
goodboot
Posts: 3
Joined: Thu Dec 05, 2013 8:59 pm

Re: Time zone setting and daylight saving

Post by goodboot »

Got it! Thanks everyone for your input.
Post Reply