VTZone v1.0 by Aspect Technologies This program will update VConfig's timezone field if the date happens to be the beginning or end of Daylight Saving Time. Simply put VTZONE.EXE into your main VADV directory, and add it to your nightly maintenance at the time at which Daylight Saving begins for your part of the world. VTZone allows for customization so that it can be used in all parts of the world. If it does not contain a feature that you need, then please let me know. Command Line: VTZONE.EXE -tz [options] You must specify your timezone in relation to GMT on the command line or it will not run. You can use either normal (-0600) or abbreviated (-6) syntax. Options: -tz Specify your timezone relation to GMT -sm Month DST begins (01-12) -si Date identifier DST begins (see below) -em Month DST ends (01-12) -ei Date identifier DST ends (see below) -sc Custom VADV field when DST begins -ec Custom VADV field when DST ends Date Identifier: The identifier is made of two characters in the format 'xd'. x - The relation of the date to the month (first, second, third, etc.) d - The day of the week Valid entries for x are: 1 - First, 2 - Second, 3 - Third, 4 - Fourth, 5 - Fifth, L - Last Valid entries for d are: 0 - Sunday, 1 - Monday, 2 - Tuesday, 3 - Wednesday, 4 - Thursday, 5 - Friday 6 - Saturday Examples: Central Standard Time examples... This will set VConfig to "(-0600)" when DST is off, and "(-0500)" when it is on. VTZONE.EXE -tz -6 This will set VConfig to "CST (-0600)" when DST is off, and "CDT (-0500)" when it is on. VTZONE.EXE -tz -0600 -sc CDT -ec CDT Central European Time example... This will setup the program for CET usage. VTZONE.EXE -tz +1 -sm 3 -si L0 -em 10 -ei L0 -sc CET -ec CEST -- Source Note: To compile the source code, you will need the VADVCFG.BAS include file. This file is in the VADV DAT/CFG Documentation. Download it at http://www.vadvphp.com. -- steve@at2k.org www.at2k.org bbs.at2k.org