标签: netsuite dayofweek suitescript
嗨,我是新的套房。我想从Date找到星期几。是否有任何API?
答案 0 :(得分:2)
像这样:
var d = new Date(); var n = d.getDay(); //Sunday is 0, Monday is 1, and so on