Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telepathy Communications Library - <b>tp_gmtoff()</b> - get or set time zone offset http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   tp_gmtoff() - get or set time zone offset

   nOldOffset := tp_gmtoff([nNewOffset])

   nNewOffset  New time zone offset.

   Returns     Original time zone offset.

   Gets or sets the GMT (Greenwich Mean Time) time zone offset.  This is
   the number of minutes to be added to the local time to produce the
   current GMT time.  GMT is used by the Ymodem and Zmodem file-transfer
   protocols.

   The default time zone offset is zero.  When transferring files
   between personal computers, it is usually more practical to leave the
   offset set to zero, to use local time rather than GMT.

   If you set the time zone offset to -1, Ymodem and Zmodem receive will
   ignore the timestamp and leave the files' modification times set to
   the current time.

   Example:

       tp_gmtoff(7 * 60)   // Offset 7 hours for Pacific Standard Time

       tp_gmtoff(8 * 60)   // Offset 8 hours for Pacific Daylight Time

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson