@Filip Dajkovic this function did the work for me
/**
* @param {Args} args
* @param {Ctx} ctx
*/
function setHours(args, ctx) {
const now = new Date();
// Create a new UTC-based date (in ms) + 14 days
const utc = new Date(
Date.UTC(
now.getUTCFullYear(),
now.getUTCMonth(),
now.getUTCDate() + 14, // add 14 days
0, 0, 0, 0 // set to midnight UTC
)
);
return utc;
}