自动化测试中遇到,默认查询条件为最近一个月,所以起始时间就应该为(2019-07-09 00:00:00.000 到  2019-08-07 23:59:59.999)

RobotFramework:查询条件为最近一个月的数据(2019-07-09 00:00:00.000 到  2019-08-07 23:59:59.999)

 

test
    ${current_date}    Get Current Date    result_format=%Y-%m-%d 23:59:59.999
    log    ${current_date}
    ${current_date-30}    Add Time To Date    ${current_date}    -719:59:59.999
    log    ${current_date-30}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-21
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-07
  • 2023-01-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-10
相关资源
相似解决方案