Type | Scope | Severity | Activated by default |
Minutes to fix |
Tags |
---|---|---|---|---|---|
Error |
BSL |
Major |
Yes |
5 |
standard deprecated unpredictable |
The "CurrentDate" function has been deprecated. It is recommended to use the "CurrentSessionDate" function.
Incorrect:
OperationDate = CurrentDate();
Correct:
OperationDate = CurrentSessionDate();
// BSLLS:DeprecatedCurrentDate-off
// BSLLS:DeprecatedCurrentDate-on
"DeprecatedCurrentDate": false