I need to convert the date from 12 hour format to 24 hour format.
Input: 01/27/2016 07:01:36 PM
Expected output: 201601271901(YYYYMMDDHHMM)
I have used format-dateTime() function in my code ,I am getting error
<xsl:value-of select="format-dateTime(part_need/promised_dt,'[Y0001][M01][D01][H01][m01]')"/>
Error:
Description: FORG0001: Invalid dateTime value "01/27/2016 07:01:36 PM" (Non-numeric year component)
Please help on this issue