note
seattlejohn
I believe your setting <code>TZ=MST</code> provides insufficient information for the <code>localtime</code> function to determine the correct time zone offset. My understanding is that the <code>TZ</code> setting must include the hours offset from UTC, and that the alphabetic designation you give it is merely for human convenience. So in your case, it would be <code>TZ=MST7</code> or, perhaps, <code>TZ=MST7MDT</code> to account for the switch to daylight savings time.
<p>Update: [sporty]'s right -- I determined this only for Windows. My Linux box did just fine without the numeric offset. (Thanks for the info on /usr/share/zoneinfo.)
<div class="pmsig"><div class="pmsig-132438">
<p> <font color="#666666">$perlmonks{seattlejohn} = '<a href="http://www.clyman.com">John Clyman</a>';</font>
</div></div>
318731
318731