Reputation: 107
Hi Im new to suitescript. I want to find day of week from the Date. Is there any API's for it?
Upvotes: 0
Views: 707
Reputation: 3029
Like this:
var d = new Date();
var n = d.getDay(); //Sunday is 0, Monday is 1, and so on
Upvotes: 2