fn-bea:date-to-string-with-format("dd-MM-yyyy",fn:current-date())
fn:concat(fn:day-from-dateTime(fn:current-dateTime() - xdt:dayTimeDuration("PT24H")),'-',fn:month-from-dateTime(fn:current-dateTime()),'-',fn:year-from-dateTime(fn:current-dateTime()))
This decreases 24 hour from the existing date
xdt:dayTimeDuration("PT24H")
fn:concat(fn:day-from-dateTime(fn:current-dateTime() - xdt:dayTimeDuration("PT24H")),'-',fn:month-from-dateTime(fn:current-dateTime()),'-',fn:year-from-dateTime(fn:current-dateTime()))
This decreases 24 hour from the existing date
xdt:dayTimeDuration("PT24H")
No comments:
Post a Comment