/: SET DATE MASK = 'date_mask'
|
设置日期显示格式
DD 天 (two digits)
DDD天名称(缩写)
DDDD 天名称 (全称)
MM 月 (two digits)
MMM 日期名称 (缩写)
MMMM 日期名称 (全称)
YY 年(two digits)
YYYY 年 (four digits)
LD 天 (formatted as for the L option)
LM 月 (formatted as for the L option)
LY 年 (formatted as for the L option)
示例
/: SET DATE MASK = 'Foster City, MM.DD.YY'
&DATE& -> Foster City, 03.01.97
&DATE(Z)& -> Foster City, 3.1.97
/: SET DATE MASK = 'MMMM DD, YYYY'
&DATE& -> March 01, 1997
取消设置
/: SET DATE MASK = ‘’
|
/: SET TIME MASK = 'time_mask'
|
时间设置
HH hours (two digits)
MM minutes (two digits)
SS seconds (two digits)
假设当前时间是10:08:12.
&TIME& -> 10:08:12
/: SET TIME MASK = 'HH:MM'
&TIME& -> 10:08
/: SET TIME MASK = 'HH hours MM minutes' &TIME& -> 10 hours 08 minutes
&TIME(Z)& -> 10 hours 8 minutes
取消设置:
/: SET TIME MASK = ' '
|