永洪社区

标题: <永洪tech>产品内置参数列表 [打印本页]

作者: 永洪tech-man    时间: 2018-1-10 15:56
标题: <永洪tech>产品内置参数列表
本帖最后由 永洪tech-man 于 2018-1-24 15:04 编辑

1、参数类型以及参数名称
参数值
参数名
blank string
_BLANK_
last year
_LAST_YEAR_
this year
_THIS_YEAR_
next year
_NEXT_YEAR_
last quarter
_LAST_QUARTER_
this quarter
_THIS_QUARTER_
next quarter
_NEXT_QUARTER_
last month
_LAST_MONTH_
this month
_THIS_MONTH_
next month
_NEXT_MONTH_
last week
_LAST_WEEK_
this week
_THIS_WEEK_
next week
_NEXT_WEEK_
last day
_LAST_DAY_
this day
_THIS_DAY_
next day
_NEXT_DAY_
last quarter group
_LAST_YEAR_QUARTER_
this quarter group
_THIS_YEAR_QUARTER_
next quarter group
_NEXT_YEAR_QUARTER_
last month group
_LAST_YEAR_MONTH_
this month group
_THIS_YEAR_MONTH_
next month group
_NEXT_YEAR_MONTH_
last week group
_LAST_YEAR_WEEK_
this week group
_THIS_YEAR_WEEK_
next week group
_NEXT_YEAR_WEEK_
last day group
_LAST_FULL_DAY_
this day group
_THIS_FULL_DAY_
next day group
_NEXT_FULL_DAY_
last day of week
_LAST_WEEKDAY_
this day of week
_THIS_WEEKDAY_
next day of week
_NEXT_WEEKDAY_
current locale
_CURRENT_LOCALE_
2、举例:
比如获取本月第一天,可以直接使用 param['_THIS_YEAR_MONTH_']
(, 下载次数: 274)