1、获取年月日时分秒格式的数据
命令:${time}= Get Current Date result_format=%Y%m%d%H%M%S
日期时间显示结果显示形式:20230908102553


2、获取时间戳形式的数据
命令:
${time}= Get Current Date result_format=timestamp
${time_stamp} Convert Date ${time} epoch
${time_stamp_ms} evaluate int(round(${time_stamp}*100))
日期时间戳结果显示形式:169408381914


















![[acwing周赛复盘] 第 120 场周赛20230909](https://img-blog.csdnimg.cn/c0a7734816574bd9bf11ece5ab4772bc.png)


