Be careful when doing things with Date Time in NetSuite. How you obtain the Date Time all depends on what you plan to use it for. When run as a client script new Date() will give you the current machine's timezone based date time. However, when run as a User Even Script, it gives you the date time based on the NetSuite server timezone. Then, if you want to use the datetime in something like setting a value on a record, or performing a search, the system assumes the value used is in the timezone of the user preferences for that specific user. So, if someone from East Coast is on a machine on the West coast for some reason, then new Date() can result in some pretty strange results