This discussion is archived
1 Reply Latest reply: Oct 14, 2012 3:27 AM by odie_63 RSS

Date Conversion in OSB Xquery

user12041997 Newbie
Currently Being Moderated

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 ?


  • Correct Answers - 10 points
  • Helpful Answers - 5 points