简体   繁体   English

如何在 BIP 的 RTF 模板中为日期字段添加一天

[英]How to add a day to Date field in RTF template for BIP

I have a small requirement where i have to add +1 day in a given date and then compare it with a different date to fetch a set of records, please make me understand how can this be achieved in BIP (RTF).我有一个小要求,我必须在给定日期添加 +1 天,然后将其与不同日期进行比较以获取一组记录,请让我了解如何在 BIP (RTF) 中实现这一点。

something like-就像是-

if CompletetdDate+ 1 = ReportedDate, then print "Successful"如果 CompletetdDate+ 1 = ReportedDate,则打印“成功”

Kindly help me.请帮助我。

Thanks,谢谢,

Maybe 'xdoxslt:ora_format_date_offset' would help you.也许“xdoxslt:ora_format_date_offset”会对您有所帮助。 You can see an example in https://help.aconex.com/DisplayContent/advanced-functions-in-the-offline-template-builder .您可以在https://help.aconex.com/DisplayContent/advanced-functions-in-the-offline-template-builder中查看示例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM