- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
I have created a variable,
var NovDate = new Date();
This date is in MON DD YYYY Format. I want to convert this to YYYMMDD format.
If I write the function : var NovDate = formatDate(NovDate, "%4Y%2M%2D%2H%2M%2S"); , I'm getting an error as below:
JST-310000 Error while compiling script 'WKF5041/start' line 6: NovDate.getDate is not a function.
Please assist.
Solved! Go to Solution.
Views
Replies
0 Likes
Total Likes