"gr.getValue()" and "gr.getByFormat('hh:mm:ss')" return different times
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 01:56 PM
gs.info(" time is " + gt.getByFormat('hh:mm:ss')); // *** Script: time is 05:00:00- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2023 09:47 AM - edited 11-17-2023 09:48 AM
Hi @Community Alums
I’m not sure why getTime() is not working. Maybe your table is in a scoped app?
Alternate:
gs.addInfoMessage((ct.u_previous_task_date.toString().split(‘ ‘))[1]);
}
Thanks!
Please mark this response as correct and helpful if it works 👍✔️
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2023 09:55 AM
@Community Alums
I can see you’re using gs.addInfoMessage on last line.
Try gs.info(gdt.getTime());
Thanks!
Please mark this response as correct and helpful if it works 👍✔️