1 Reply Latest reply on Oct 14, 2012 10:27 AM by odie_63

    Date Conversion in OSB Xquery


      Input to the xquery is "2012-09-18T06:44:20", I want the output to be 20120918 (YYYYMMDD) format. When I use the function fn:month-from-dateTime($arg), I m getting the Month as "9" instead of "09". Hence the output is like "2012918". Any thoughts how this (20120918) can be achieved ?