Check out example codes for "jstl format in c:set". It will help you in understanding the concepts better.

Code Example 1

<fmt:formatDate value=".." pattern=".." var="strDate" />

Learn ReactJs, React Native from akashmittal.com