if its 2.0 they are date objects and you should us...
# suitescript
c
if its 2.0 they are date objects and you should use MomentJS to do your date related stuff