  | 83476 packages online |
|
 |
| | | | | No screenshot available |
|
DSTD - Daylight Saving Time Determination utility
A small utility that checks whether or not the current
date/time is within the EU's or USA's DST period.
Comes handy in connection with a NTP client in order to
calculate the required UTC time difference. The date
needs to be current before calling the utility, so
a working realtime clock is of essence, or calling
the ntp sync tool once beforehand.
Return code is 10 if DST is active, 0 if not.
Beginning and end dates are
- EU: Last sundays in March and November;
- USA: Second sunday in March, first Sunday in November.
By default, EU rules are assumed. The command line switch
"USA" puts it in USA mode.
Usage example:
failat 20
dstd
if warn
ntpsync -d120 ....
else
ntpsync -d60 ...
endif
Version history:
1.00
- Initial release
|
Contents of util/time/dstd.lhaPERMISSION UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown] 477 652 73.2% -lh5- d48d Apr 8 12:38 dstd
[unknown] 578 1037 55.7% -lh5- 6f5e Apr 9 08:44 dstd.readme
---------- ----------- ------- ------- ------ ---------- ------------ ----------
Total 2 files 1055 1689 62.5% Apr 11 05:09
|
|
|
 |
Aminet © 1992-2021 Urban
Müller and
the Aminet team.
Aminet contact address: <aminet aminet net> |