1 Reply Latest reply: Apr 1, 2011 4:22 PM by Mikereiche-Oracle RSS

    Invalid date difference calulation?

    583206
      I run the following function both from ODSI 10gR3 and OSB 10gR3 and receive back "P4D". Am I missing something?

      ====================================================

      declare function xf:qwe() as xs:string {

           xs:string(
                xdt:dayTimeDuration(
                     xs:date("2011-02-01") -
                     xs:date("2011-01-31")
                )
           )                     
      };