answered 2022-04-07 02:02:26 -0500
See API macint, macdat and macdt2 in Application Program Interface (API) manual.
macint
macdat
macdt2