Subtract 1 from a date

Does Natural calculate how many days in a month? i need to get Date minus one day. Thanks!

D-format variables allow simple computations.

1 #DATE (D)  INIT <*DATX>

SUBTRACT 1 FROM #DATE

ASSIGN #DATE = #DATE - 1

thank you so much. I dont have any of my manuals at home.

Usually, all the latest manuals are available here in the TechCommunity, but SAG is having technical difficulties these days.

The documentation will be available soon.
In the mean time you may see it here :

https://support-usgov.softwareaggov.com/Documentation/A&N/

Eli