Skip to content

Instantly share code, notes, and snippets.

@dariayermolova
Created April 15, 2019 15:25
Show Gist options
  • Save dariayermolova/c8d6d727f24f82c418df2357ada932c0 to your computer and use it in GitHub Desktop.
Save dariayermolova/c8d6d727f24f82c418df2357ada932c0 to your computer and use it in GitHub Desktop.
var moment = require("moment");
pm.environment.set('start', moment().add(30, 'minutes').format('YYYY-MM-DD HH:mm:00'));
///or
pm.environment.set('end', moment().add(45, 'minutes').toISOString());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment