130 pts.
 Retrive System value in CCYYMMDDHHMMSS format?
Hi anyone tell me how to retrive system valule in format CCYYMMDDHHMMSS   in which CC in centuary?



Software/Hardware used:
ASKED: February 27, 2012  6:32 AM
UPDATED: March 17, 2012  1:23 AM

Answer Wiki:
Last Wiki Answer Submitted:  Be the first to answer this question.
All Answer Wiki Contributors:  Be the first to answer this question. Michael Tidmarsh   11,410 pts. , Michael Tidmarsh   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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

 108,360 pts.

 

i think,
just retrieve date and convert (CVTDAT) to *CYMD format in CL program…

 3,740 pts.