DEV Community

Krixnaas
Krixnaas

Posted on • Updated on

Set Current Date with Format on PostMan Request

const moment = require('moment');
pm.globals.set("today", moment().format("YYYY-MM-DD"));
Enter fullscreen mode Exit fullscreen mode

Top comments (0)