fastcode-test-v2 - v1.0.7
    Preparing search index...

    Function getOtherDate

    • 获取相对日期

      Parameters

      • timeType: 1 | 2 = 1

        方向 (1:未来, 2:过去)

      • Optionalnum: number = 1

        天数

      • OptionaldateTime: DateParam

        基准日期

      • Optionaltype: 1 | 2 = 1

        返回格式 (1:年月日, 2:月日)

      Returns string