TD - Time Differential

#### Search Results

Search

# TD - Time Differential

This Natural profile parameter specifies a time differential to be applied to the Natural time/date setting to ensure that the current local time/date is used, rather than the computer center time/date.

Possible settings | `AUTO` | During session initialization, Natural compares the physical (store clock) and logical (system environment) machine times and uses the difference between the two as the setting for the `TD` parameter. For a time change to take effect for Natural (for example, to change time to summer time or back to winter time), it is therefore sufficient to reset the logical machine time. This affects only those sessions which were started after the time change.
`+/-hh` `(+/-hh,mm)` `(+/-hh,mm,ss)` | Hours, minutes and seconds from `(-23,59,59)` to `(+23,59,59)`. A plus (optional) or minus sign indicates, whether the `TD` value is to be added or subtracted. The specified time is added to or subtracted from the physical machine time to set the time/date to be used by Natural.
1 to 32 characters | Name of the time zone to be used. This must be defined as a valid time zone in the `NTTZ` macro of the `NATCONFG` module, see Configuration Tables - Module NATCONFG. If the time changes according to the DST definition in `NATCONFG` for the time zone, this is honored during a running session.
Default setting | `0` |
Dynamic specification | yes |
Specification within session | no |
Application programming interface | `USR1005N` | See SYSEXT - Natural Application Programming Interfaces in the Utilities documentation.

Note
This parameter is applicable in an environment in which remote nodes are being used in a computer network.

#### Examples

    TD=6           (6 hours ahead)
    TD=(5,30)      (5 hours and 30 minutes ahead)
    TD=(-6,12,30)  (6 hours, 12 minutes and 30 seconds behind)
    TD='USA-EST'   (eastern time zone as defined in NTTZ macro)