How to Get Today's Date in Netsuite 1.0 .
There are many ways to get Current Date . You can use Date API for this or java script API for this purpose .
Please use below format to get Current Date
var date = new Date();
var day = date.getDate();
var month = date.getMonth();
month++;
var year = date.getFullYear();
var dateFormatted = month + "/" + day + "/" + year;
Note: this is MM/DD/YYYY
you can change it to any format.
Thanks
Please use below format to get Current Date
var date = new Date();
var day = date.getDate();
var month = date.getMonth();
month++;
var year = date.getFullYear();
var dateFormatted = month + "/" + day + "/" + year;
Note: this is MM/DD/YYYY
you can change it to any format.
Thanks
Comments
Post a Comment
Thanks for you message, please join us on Facebook and Linkedin