IBM
C2020-702 · Question #38
If vOriginalDate = July 27, and you require vNewDate = Jul2012, which syntax is appropriate to complete this task?
The correct answer is A. vNewDate=SUBST(vOriginalDate,3,3) | '2012'. See the full explanation below for the reasoning.
Question
If vOriginalDate = July 27, and you require vNewDate = Jul2012, which syntax is appropriate to complete this task?
Options
- AvNewDate=SUBST(vOriginalDate,3,3) | '2012';
- BvNewDate=SUBST(vOriginalDate,3,3) & '2012';
- CvOriginalDate=SUBST(vNewDate,3,3) & '2012';
- DvNewDate=SUBST(vOriginalDate,3,3) + '2012';
How the community answered
(25 responses)- A72% (18)
- B4% (1)
- C8% (2)
- D16% (4)
Community Discussion
No community discussion yet for this question.