In suitescripts, how could we add hours to Time of...
# suitescript
b
In suitescripts, how could we add hours to Time of day field?
b
time of day fields use a Date as the value
get the Date value of the field, use getHours to get its hours add whatever hours you wanted to add, then setHours to set that value back on it
and then finally set that Date as the value of the field
b
Thank you