var gdtBST = new GlideDateTime();
var tz = Packages.java.util.TimeZone.getTimeZone("Europe\London");
gdtBST.setTZ(tz);
gdtBST.setDisplayValue(current.getDisplayValue('opened_at'));
var dT = gdtBST.toString();
var dateSection = dT.split(' ')[0]; //Gets the Date
var timeSection = dT.split(' ')[1]; //Gets the Time
current.u_call_log_date = dateSection;
current.u_call_log_time =
timeSection;
Comments
Post a Comment