1 | input_year | Input | INT4 |
2 | input_month | Input | INT4 |
3 | input_day | Input | INT4 |
4 | input_hours | Input | INT4 |
5 | input_minutes | Input | INT4 |
6 | input_seconds | Input | INT4 |
7 | input_milliseconds | Input | INT4 |
8 | output_seconds | Output | FLOAT8 |
9 | fc | Output | FEEDBACK |
The Convert Integers to Seconds (CEEISEC) API converts separate binary integers representing year, month, day, hour, minute, second, and millisecond to a number representing the number of seconds since 00:00:00 14 October 1582. Use CEEISEC instead of CEESECS when the input is in numeric format rather than character format.
None.
If any input values are not valid, output_seconds is set to zero.
CEE0000 | The API completed successfully |
Severity: 00 | |
CEE2510 | The value for hour is not valid |
Severity: 30 | |
CEE2511 | The value for day is not valid |
Severity: 30 | |
CEE2513 | The value for Lilian date is not valid |
Severity: 30 | |
CEE2514 | The value for Lilian year is not valid |
Severity: 30 | |
CEE2515 | The value for millisecond is not valid |
Severity: 30 | |
CEE2516 | The minute value is not valid |
Severity: 30 | |
CEE2517 | The value for month is not valid |
Severity: 30 | |
CEE2519 | The value for second is not valid |
Severity: 30 | |
CEE9902 | Unexpected user error occurred in &1 |
Severity: 30 |
The inverse of CEEISEC is CEESECI. The CEESECI API converts number of seconds to integer year, month, day, and so forth.
To convert output_seconds to a Lilian day number, divide output_seconds by 86 400 (number of seconds in a day).
CEEISEC can be used to do date arithmetic that cannot otherwise be done with Lilian dates or number of seconds. For example, to add exactly 6 months to a date rather than add 180 days, use CEEISEC.
Top | ILE CEE APIs | APIs by category |