You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2019/11/21 00:54:26 UTC

[GitHub] [incubator-dolphinscheduler] Yeleights commented on issue #1303: 请问如何获取当前跑批的日期

Yeleights commented on issue #1303: 请问如何获取当前跑批的日期
URL: https://github.com/apache/incubator-dolphinscheduler/issues/1303#issuecomment-556699803
 
 
   In dolphinscheduler docs, chapter **Time Customization Parameters**:
   Support code to customize the variable name, declaration: ${variable name}. It can refer to "system parameters" or specify "constants".
   about time parameters: 
   yesterday -> $[yyyy-MM-dd-1]
   today -> $[yyyy-MM-dd]
   p_year -> $[yyyy]
   p_month -> $[yyyy-MM]
   p_day -> $[yyyy-MM-dd]
   时间参数这块建议详细看一下官方文档中的,时间自定义参数章节
   上面给出了一个时间自定义的例子
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services