Date-Time - "Run Script" step in workflow setting unexpected results in date time field Description Directly assigning a value to a date/time type field using gs.nowDateTime(); in a Run Script workflow activity incorrectly sets the field value to a time in the past. For example, the script current.variables.end_date_time = gs.nowDateTime(); does not work. Workaround Set a variable to the current date and time, then set the date/time field to this variable: gdt = new GlideDateTime();current.variables.end_date_time = gdt; Related Problem: PRB575125