1 Reply Latest reply on Jan 17, 2012 1:26 PM by AmbikaM

    Issue in Date format in process

    AmbikaM Level 1

      Hi,

       

      I am using format-dateTime-withFormat() function in process to convert the format to mm-dd-yyyy. While formatting the date its subtracting date and month by 1.

       

      Example: current-date() gave the output as "2012-01-17". When I am formatting this using

       

      format-dateTime-withFormat

       

      Please let me know is there some bug in this function or am I missing out something in the parameter.

       

       

      Thanks and Regards,

      Ambika

      (current-date(),'mm-dd-yyyy'). I am getting output as "00-16-2012".