Built-in Parameter

Basic Built-in Parameter

variabledeclaration methodmeaning
system.biz.date${system.biz.date}The day before the scheduled time of the daily scheduling instance, the format is yyyyMMdd, when the data is supplemented, the date is +1
system.biz.curdate${system.biz.curdate}The timing time of the daily scheduling instance, the format is yyyyMMdd, when the data is supplemented, the date is +1
system.datetime${system.datetime}The timing time of the daily scheduling instance, the format is yyyyMMddHHmmss, when the data is supplemented, the date is +1

Extended Built-in Parameter

  • Support custom variable names in the code, declaration method: ${variable name}. It can refer to basic built-in parameter or specify “constants”.

  • We define this benchmark variable as $[…] format, $[yyyyMMddHHmmss] can be decomposed and combined arbitrarily, such as: $[yyyyMMdd], $[HHmmss], $[yyyy-MM-dd], etc.

  • Or the 2 following methods may be useful:

    1. 1. use add_month(yyyyMMdd, offset) function to add/minus number of months
    2. the first parameter of this function is yyyyMMdd, representing the time format user will get
    3. the second is offset, representing the number of months the user wants to add or minus
    4. * Next N years$[add_months(yyyyMMdd,12*N)]
    5. * N years before$[add_months(yyyyMMdd,-12*N)]
    6. * Next N months$[add_months(yyyyMMdd,N)]
    7. * N months before$[add_months(yyyyMMdd,-N)]
    8. *********************************************************************************************************
    9. 1. add numbers directly after the time format
    10. * Next N weeks$[yyyyMMdd+7*N]
    11. * First N weeks$[yyyyMMdd-7*N]
    12. * Next N days$[yyyyMMdd+N]
    13. * N days before$[yyyyMMdd-N]
    14. * Next N hours$[HHmmss+N/24]
    15. * First N hours$[HHmmss-N/24]
    16. * Next N minutes$[HHmmss+N/24/60]
    17. * First N minutes$[HHmmss-N/24/60]