Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

_DST in TCC/LE

Aug
1,917
68
In TCC, _DST returns 1 if daylight savings time is in effect, or 0 if it is not.

The _DST variable is not available in TCC/LE.

In TCC/LE, you can still determine if daylight savings time is in effect by using PowerShell;

Code:
set _dst=0
if %@execstr[powershell -noprofile -command "& write-host (get-date).IsDaylightSavingTime()"] eq True set _dst=1
echo %_dst

Joe
 
Back
Top