most of the time you can directly use a date in ss...
# suitescript
b
most of the time you can directly use a date in ss2 methods that set date/time type fields