原始时间戳13位精确到毫秒:${__time(,)}

时间戳精确到秒10位:${__time(/1000,)}

时间日期到年月日2019-04-21:${__time(yyyy-MM-dd,)}

时间日期到年月日${__time(YMDHMS,)}

 

_time 函数以各种格式返回当前时间,且提供了多种简写别名,如:

YMD = yyyyMMdd

HMS = HHmmss

YMDHMS = yyyyMMdd-HHmmss

格式化生成时间格式:${__time(yyyy-MM-dd HH:mm:ss:SSS,time)}

${__time(yyyy-MM-dd,)}:调用yyyy-MM-dd格式日期

${__time(YMDHMS,)}:调用YMDHMS格式日期

实例:

jmeter获取时间_time 函数

 

相关文章:

  • 2021-12-30
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-04
  • 2021-12-11
  • 2021-05-28
  • 2021-08-26
相关资源
相似解决方案