Just ask for it. That is, I assume that you are retrieving the QDATETIME system value, and that’s the only format that it ever returns.
However, the actual format is YYYYMMDDHHNNSSXXXXXX; so you would simply take just the first 14 characters and ignore the last 6 characters.
Tom
i think, just retrieve date and convert (CVTDAT) to *CYMD format in CL program…
Just ask for it. That is, I assume that you are retrieving the QDATETIME system value, and that’s the only format that it ever returns.
However, the actual format is YYYYMMDDHHNNSSXXXXXX; so you would simply take just the first 14 characters and ignore the last 6 characters.
Tom
i think,
just retrieve date and convert (CVTDAT) to *CYMD format in CL program…