The innermost DATECVT function call converts the string value &DATEIN to a smart date. Then the DATEADD function runs and then the outermost DATECVT function converts the smart date back to a string.This message has been edited. Last edited by: Francis Mariani,
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
March 31, 2015, 11:59 AM
Doug
Thanks Francis, It's all about the Smart Date.
September 25, 2015, 10:56 AM
Doug
This still comes up whenever I get code-tied with the dates... Yep, I do have the "(Almost) 1001 ways to work with DATES in WebFOCUS" book... And highly recommend that it be added to your library... ~ Doug