i think it may be better to create the date object...
# suitescript
a
i think it may be better to create the date object within the reduce function