We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Fix script does not update record correctly

dev_K
Tera Contributor

Hi All,

 

I have a script that fixes a value on a record

 

if (gr.next()) {
  gr.setValue('due_date', '15/01/2026 00:00:00');
  gr.update();
  
 
it works but not for the hour, the hour is always updated to 01:00:00:
dev_K_0-1743154241678.png

 

how can I set it to 00:00:00??

5 REPLIES 5