[Adobe DTM|Javascript]Β UTC Date as Data-Element
Saving the rounded (15 min) UTC Date as Data-Element (without "GMT"/"UTC" Ending). Create Data-Element with Custom-Script:
var coeff = 1000 * 60 * 15; var date = new Date(); var rounded = new Date(Math.round(date.getTime() / coeff) * coeff).toUTCString(); if (rounded.indexOf("GMT") >= 0) { return rounded.split(" GMT")[0]; }else{ return rounded.split(" UTC")[0]; }














