@TIMEZONE missing from help

May 29, 2008
565
4
Groton, CT
Both the V10 and V11 help files are missing index entries for the internal variable _TIMEZONE.
 
May 29, 2008
565
4
Groton, CT
Re: _TIMEZONE missing from help

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?)

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.

And, of course, it's _TIMEZONE, not @TIMEZONE. Sorry 'bout that.
 

rconn

Administrator
Staff member
May 14, 2008
12,319
148
Re: _TIMEZONE missing from help

> ---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
 
May 29, 2008
565
4
Groton, CT
Re: _TIMEZONE missing from help

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

Ah, yes. I remember now. [duh. hits palm to forehead.] I was one of the people who asked for %_TZO and %_TZN, having found that %_TIMEZONE alone was insufficient.

What goes around comes around, I guess.


Many good features in V11, Rex. I will upgrade when you declare it to be soup.
 
Similar threads
Thread starter Title Forum Replies Date
Jay Sage Documentation Function @DRIVE Missing in Help Lists Support 0
FreezerBurnt "Missing SETLOCAL" when initializing Visual Studio Command Prompt. Support 9
A Key Commands missing? Support 3
L How to? Shebang, nice idea but am I missing something? Support 4
A How to? TCMD Configuration Dialog: 'Smooth Scrolling' Option missing? Support 1
Z Take Command deletes the next letter when I insert a missing letter ? Support 5
Joe Caverly Missing PSHELL in HELP Support 0
JohnQSmith Weird DIR output (missing lines) Support 1
dcantor Documentation SET /T: missing from heading Support 0
M Is STDVCL40.DLL missing or no longer needed? Support 4
vefatica Missing DLL Support 21
E Fixed SHRALIAS doesn't work / SHRALIAS.EXE is missing in v20.11.35 Support 2
vefatica Fixed Help @FUNCTION, missing paragraph Support 8
vefatica Missing post and security error Support 4
Roedy missing English.dll, failed install Support 2
D MSVCP140.dll is missing Support 5
C WAD Logging missing Support 19
H Fixed ... MSVCR120.dll is missing from your system ... Support 2
vefatica Help pages, icon missing Support 8
J The triple mystery of the missing tray icon Support 9
L Full Screen in Office 2013 theme chars missing Support 8
vefatica Build 55: ipworks9.dll missing Support 8
S How to? How do I distinguish missing source file from download error when using HTTP? Support 6
S Documentation "HELP IDE" - missing reference Support 0
vefatica Missing VirtualizerSDK32.dll Support 8
Dan Glynhampton Documentation v15 help: Missing link Support 0
M Missing PERL command-line arguments Support 1
Dan Glynhampton Documentation Bad Link/Missing Page in v15 help Support 0
S Missing thread Support 9
S dir for ftp connection - missing files sometimes Support 1
R CompleteAllFiles missing in option? Support 1
Joe Caverly Sort-of Missing Switch for START in Help Support 7
M How to? Missing closing quote: What am I doing wrong???? Support 7
dcantor SENDMAIL /= missing field Support 4
S DEL on FTP site : complaint about missing DESCRIPT.ION Support 1
Steve Pitts FOLDERMONITOR missing events?? Support 7
M Missing PDir option... Support 5
rnwolf can't start because ipworks8.dll is missing Support 1
thedave Newly created directories missing from TCMD Support 0
dcantor Missing help for @PIDCOMMAND[pid] Support 6
C Rex: Missing email messages from all forums Support 7
L Vista 64 bits missing commands Support 1
vefatica Online help? Support 2
fishman@panix.com HELP!! I just updated to Version 28 and as usual I cannot make extended directory search work. Support 2
JohnQSmith New online help file wrong logo Support 7
Charles Dye More help nits Support 0
D Documentation Typo in COPY help Support 0
FreezerBurnt Help making a CMD and TCC compatible batch file Support 7
Joe Caverly Documentation COMMANDS in Version 27 help Support 8
K_Meinhard How to? Help window position Support 7

Similar threads