标题: LR中如何取系统时间?? [打印本页] 作者: cynthia_lu 时间: 2007-10-15 16:40 标题: LR中如何取系统时间?? LR中如何取系统时间??用哪个函数?谢谢!!作者: shoulamon 时间: 2007-10-15 17:17
帮助里面应该有例子的,自己去看看吧作者: sidneylover 时间: 2007-10-15 17:45
lr_save_datetime
看这个的帮助作者: 1qazse4 时间: 2007-10-15 18:28
LR_SAVE_DATETIME:
NOTE: The lr_save_datetime function saves the current date and time, or the date and time with the specified offset into a parameter. The resulting string will be truncated once it reaches MAX_DATETIME_LEN characters.
如果超过MAX_DATETIME_LEN ,就会把超过的部分截掉的
下面是例子:
In the following example, lr_save_datetime is used to retrieve tomorrow's date.
lr_save_datetime("Tomorrow is %B %d %Y", DATE_NOW + ONE_DAY, "next");
lr_output_message(lr_eval_string("{next}"));
If today is January 7th, 1999, these lines will return the message: Tomorrow is January 08 1999.作者: weiyihang 时间: 2007-10-16 10:53 标题: lr_save_datetime lr_save_datetime,就是这个函数!作者: cynthia_lu 时间: 2007-10-16 14:29
谢谢各位!!作者: qiguojie 时间: 2007-10-16 14:38 http://www.51testing.com/?6343/action_viewspace_itemid_15321.html