CodBi
    Preparing search index...

    Function processArithmeticParams

    • Performs arithmetic operations on the Date "toProcess". Days, months and years may be either added or subtracted by adding each arithmetic option as a separate parameter (e.g. Date.Today ~ -1d ; +2m ; -10y ).

      Parameters

      • toProcess: Date

        The Date perform the arithmetic operations specified in "params" on.

      • params: string[]

        An Array < string > of all operation that shall be performed onto the Date "toProcess". Days, months and years may be either added or subtracted by adding each arithmetic option as a separate parameter (e.g. Date.Today > -1d ; +2m ; -10y ).

      Returns Date

      The Date "toProcess" modified according to the arithmetic specified in "params".