Quantcast
Channel: Spiceworks Community - Latest topics
Viewing all articles
Browse latest Browse all 184401

toDate from Numeric Variables

$
0
0
I am trying to convert numeric variables to a date:
curMonth = 2curDate= 15curYear = 2013
Date1= (curMonth+curDate+curYear).toDate()
I have also tried
Date1= (curMonth+curDate+curYear).toString().toDate()
In my script i just keep getting error that it couldn't convert variable to a date.  Can someone please help.  Thank you.
Read More

Viewing all articles
Browse latest Browse all 184401

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>