首页 > 其他分享 >PostMan提交参数中存在日期格式

PostMan提交参数中存在日期格式

时间:2022-11-02 13:45:58浏览次数:39  
标签:11 24 PostMan parse 提交 new Date 格式 postman

1.定义全局变量、引用

postman.setGlobalVariable("startTime",Date.parse(new Date("2022/11/18 11:24:10")));
postman.setGlobalVariable("endTime",Date.parse(new Date("2022/11/18 11:24:59")));

如图所示

 

 运用如下图

 

标签:11,24,PostMan,parse,提交,new,Date,格式,postman
From: https://www.cnblogs.com/slf784049656/p/16850732.html

相关文章