There's nothing special about dates in SuiteScript...
# suitescript
e
There's nothing special about dates in SuiteScript, you can just leverage all the functionality of the native
Date
Object https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date