1.Functional Description
1.1Purpose
This function will convert a time passed in from one time zone to another, accounting for any changes
in the date resulting from the time conversion.
1.2Setup Notes and Prerequisites
UDC table 17/TZ must be set up with correct offsets in description 2 in order for the time
conversions to be correctly calculated.
1.3Special Logic
Get time zone from UDC table
Calculate time difference between From time and To time.
If less than 0, minus one date.
If greater than 24 hours, add one date.
D1700340 - Calculate Time Difference
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szFromTimeZone | ITZ | char | REQ | INPUT |
International time zone. | ||||
mnFromTime | TME0 | MATH_NUMERIC | REQ | INPUT |
Everest Parent Data Item | ||||
mnToTime | TME0 | MATH_NUMERIC | REQ | OUTPUT |
Everest Parent Data Item | ||||
szToTimeZone | ITZ | char | REQ | INPUT |
International time zone. | ||||
jdDate | UPMJ | JDEDATE | OPT | NONE |
The date that specifies the last update to the file record. |
None |
None |