Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2017 12:06 PM
Hi Joe,
You can update the time on the field by GlideTime() API
The below script will update the time on the gliddate object to 06:45:20, you can replace that with the time you are looking for. You may need to look at the time zone offset too.
var gdt = new GlideDateTime(gr.variables.date);
var mytime = new GlideTime();
mytime.setValue("06:45:20");
gdt.add(mytime);
gs.print(gdt.getValue());