Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Change date format of business time left of SLA Task.

HaseemM85874654
Tera Contributor

Hi everyone, I would like to ask if the time format of 'Business Time Left' (currently displayed as Days/Hours/Minutes/Seconds) can be changed to Hours/Days/Minutes/Seconds. If this is possible, please provide an authentic method to achieve it.

Thanks.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

@HaseemM85874654 

Not possible.

Logically if you see the sequence is highest to lowest, so Days will and should come 1st and then Hours/Minutes/Seconds

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

2 REPLIES 2

HasanM
Tera Contributor
No, we can't change it directly, but you can use this method in the script before formatting the date:
gDate.getByFormat('');
This will format the date as needed.

Ankur Bawiskar
Tera Patron

@HaseemM85874654 

Not possible.

Logically if you see the sequence is highest to lowest, so Days will and should come 1st and then Hours/Minutes/Seconds

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader