Please enable JavaScript to view this site.

No parameters are required to be passed into this exit program. The current date and time are retrieved from the IBM i and returned in the following format(s):

Note: PARM3 and PARM4 will only be returned from version 6.2.81.

Parameter

In

Description

Out

Len

PARM1

-

Time

HH:MM:SS

e.g. 15:27:35

8

PARM2

-

Date

DD/MM/YY

e.g. 23/10/19

8

PARM3

-

Date / Time *ISO including milliseconds

YYYY-MM-DD-HH-MM-SS-mmmmmm

e.g. 2019-10-23-15.27.35.960000

26

PARM4

-

Date / Time *ISO

YYYY-MM-DD HH:MM:SS

e.g. 2019-10-23 15:27:35

19

PARM5

-

 

-

 

PARM6

-

 

-