Problem Note 65776: The adjustDate function in the SAS® Risk Governance Framework gives inconsistent results
When you use the adjustDate function in a screen definition file in the SAS Risk Governance Framework, you might see inconsistent results when you attempt to increment the date.
For example, assume that your date format is dd/mm/yyyy, and you have defined the following date fields in your screen definition file:
<field name="TEMP.startDt" type="date" >
<label>Start Date</label>
<on-change>
<set-value name="TEMP.targetEndDt" value="adjustDate(TEMP.startDt, 'month', 1)"/>
</on-change>
</field>
<field name="TEMP.targetEndDt" type="date" >
<label>Target End Date</label>
</field>
If the value of the Start Date field is 02/03/2020, the adjustDate function should set the value of the Target End Date field to 02/04/2020. Instead, the function might incorrectly set the Target End Date field to 01/04/2020.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Risk Governance Framework | Microsoft® Windows® for x64 | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows 8 Enterprise 32-bit | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows 8 Enterprise x64 | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows 8 Pro 32-bit | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows 8 Pro x64 | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Enterprise 32-bit | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Enterprise x64 | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Pro 32-bit | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Pro x64 | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows 10 | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows Server 2008 | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows Server 2008 R2 | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows Server 2008 for x64 | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 Datacenter | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 R2 Datacenter | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 R2 Std | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 Std | 7.4 | | 9.4 TS1M5 | |
Microsoft Windows Server 2016 | 7.4 | | 9.4 TS1M5 | |
Windows 7 Enterprise 32 bit | 7.4 | | 9.4 TS1M5 | |
Windows 7 Enterprise x64 | 7.4 | | 9.4 TS1M5 | |
Windows 7 Home Premium 32 bit | 7.4 | | 9.4 TS1M5 | |
Windows 7 Home Premium x64 | 7.4 | | 9.4 TS1M5 | |
Windows 7 Professional 32 bit | 7.4 | | 9.4 TS1M5 | |
Windows 7 Professional x64 | 7.4 | | 9.4 TS1M5 | |
Windows 7 Ultimate 32 bit | 7.4 | | 9.4 TS1M5 | |
Windows 7 Ultimate x64 | 7.4 | | 9.4 TS1M5 | |
Linux for x64 | 7.4 | | 9.4 TS1M5 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2020-04-06 09:03:15 |
Date Created: | 2020-03-30 10:49:31 |