day of the week and time returning different than expected
(function calculatedFieldValue(current) {try {if (!current.sys_created_on)return '';var created = new GlideDateTime(current.sys_created_on); // creation timevar now = new GlideDateTime(); // current time// Determine the start of the current week (Mon...