cancel
Showing results for 
Search instead for 
Did you mean: 

tztab for Brazil??

 
Highlighted
Occasional Advisor

tztab for Brazil??

Does anybody have a tztab for San Paulo Brazil.

Any help would be appreciated.

Also what would be the tz variable setting.
4 REPLIES 4
Highlighted
Honored Contributor

Re: tztab for Brazil??

I've not seen one specific to BR, but this site should have enough info for you to "roll your own" changes if need be.

http://www.timeanddate.com/worldclock/city.html?n=233

http://www.timeanddate.com/news/time/brazil-dst-2007-2008.html

http://www.timeanddate.com/worldclock/timezone.html?n=233

Note the admonishion that "these rules change often.....". Appears that the timezones are BRT / BRST

"man 4 tztab" has details on the file layout if you choose to go that route
Highlighted
Occasional Advisor

Re: tztab for Brazil??

This is what I have tried:
# horario verao
BEST3BEDT
0 0 15-21 2 2003 0 BEST3
0 0 18-24 10 2003 0 BEDT2
0 0 14-20 2 2004 0 BEST3
0 0 1-2 11 2004 2 BEDT2
0 0 20-21 2 2005 0 BEST3
0 0 16-17 10 2005 0 BEDTA
0 0 18-19 2 2006 0 BEST3
0 0 4-5 11 2006 0 BEDT2
0 0 24-25 2 2007 0 BEST3
0 0 13-14 10 2007 0 BEDT2
0 0 16-17 2 2008 0 BEST3

This is what I get:

# TZ=BEST3BEDT date;date -u
Thu Apr 24 17:25:26 BEDT 2008
Thu Apr 24 19:25:26 UTC 2008

This is wrong. S/B UTC - 3

Any suggestions
thanks





Highlighted
Acclaimed Contributor

Re: tztab for Brazil??

>This is what I have tried:

It appears Brazil is in the southern hemisphere, you should look at Australia.

0 0 15-21 2 2003 0 BEST3
0 0 18-24 10 2003 0 BEDT2

The standard way of doing this is to list all of the start times, then list all of the end times. Not sort by year.

0 0 16-17 10 2005 0 BEDTA

Typo.

0 0 16-17 2 2008 0 BEST3

Where is your entry for start of DST for 2008?

>Thu Apr 24 17:25:26 BEDT 2008
>Thu Apr 24 19:25:26 UTC 2008
>This is wrong. Should be UTC - 3

Try both entries for 2008. Also try Clay's dst.pl script:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1165833
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1210672
Highlighted
Acclaimed Contributor

Re: tztab for Brazil??

This works:
BEST3BEDT
0 0 15-21 10 2003 0 BEDT2
0 0 01-07 11 2004 2 BEDT2
0 0 15-21 10 2005 0 BEDT2
0 0 01-07 11 2006 0 BEDT2
0 0 08-14 10 2007 0 BEDT2
0 0 08-14 10 2008 0 BEDT2
0 0 15-21 02 2003 0 BEST3
0 0 15-21 02 2004 0 BEST3
0 0 15-21 02 2005 0 BEST3
0 0 15-21 02 2006 0 BEST3
0 0 22-28 02 2007 0 BEST3
0 0 15-21 02 2008 0 BEST3

Note: Date ranges must be exactly 7 days.
I guessed the starting date for 2008.