Solved

Sydney Is Building an Application with XSLT 2

Question 1

Multiple Choice

Sydney is building an application with XSLT 2.0 that relies on many date formats and calculations. He comes to you for some assistance in developing these formats and calculations correctly.
-Sydney would like the value of the birthDate element output in the format "9/2/2017". Which of the following functions do you recommend he use to achieve this formatting correctly?


A) format-date(birthDate,'[MNn]/[D]/[Y]')
B) format-date(birthDate,'[M]/[D,2]/[Y]')
C) format-date(birthDate,'[M]/[d]/[Y]')
D) format-date(birthDate,'[M]/[D]/[Y]')

Correct Answer:

verifed

Verified

Related Questions