Functional Description
Adjusts the passed in UTC Time to or from local time based on the passed in parameters. The adjusted
local time is still in the same format as the UTC Time (minutes since 1/1/1970).
Purpose
Needed for Scheduler (P91300) recurrence functions.
Setup Notes and Prerequisites
Time Zone and daylight savings rule (if needed) must be passed in.)
Special Logic
Technical Specification
D9800009C - Convert UTC Time To Local Time
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnTime | SCHSTTIME | MATH_NUMERIC | REQ | BOTH |
The start time of the job based on Universal Time Coordinate (UTC) Time. UTC Time is the number of seconds elapsed since Midnight on
| ||||
szTimeZones | TIMEZONES | char | REQ | INPUT |
Choose the time zone for which you want to view the date and time. | ||||
cDaylightSavings | DAYLIGHTSV | char | REQ | INPUT |
Indicates whether to adjust the local time for daylight savings time. The U.S. daylight savings standard is used. | ||||
cMode | EV01 | char | REQ | INPUT |
1 - Convert from UTC to local.
| ||||
szDaylightSavingsRuleName | DSAVNAME | char | REQ | INPUT |
Unique name identifying a daylight savings rule. Use daylight savings rules to adjust time for a geographic and political locale. |
B91300A Scheduler Date/Time Functions | ||||
X0005 Get User Defined Codes |
F00085 Daylight Savings Rules |