By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!Both the V10 and V11 help files are missing index entries for the internal variable _TIMEZONE.
That's an undocumented and unsupported variable name. If you're looking for the time zone offset, use %_tzo.
(How did you come across _TIMEZONE -- were you browsing the strings in takecmd.dll?)
> ---Quote (Originally by rconn)---
> That's an undocumented and unsupported variable name. If you're
> looking for the time zone offset, use %_tzo.
>
> (How did you come across _TIMEZONE -- were you browsing the strings in
> takecmd.dll?)
> ---End Quote---
> In this case, I did not browse the strings in the .DLL, though I admit
> to having done things like that in the past. Not this time. This
> was innocent.
>
> I came across it testing out the new feature in V11 using F9 for
> completion of internal variable names. I typed the underscore and
> then F9 repeatedly, looking at all the names it generated. When I saw
> _TIMEZONE, I was curious, of course, and looked at the value. (I
> presume that's the "standard" number of minutes offset from UTC,
> without taking daylight time into account.) Then I looked for it in
> V10 and found it was there, too.
>
> As long as it's there, why not document it? Can't hurt anyone, I
> suspect.
Can't help anyone either; it's obsolete and has been replaced by %_tzo.
It's only maintained for backwards compatibility with (very) old batch
files.
Rex Conn
JP Software