Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Re: Convert.subString stopped working

$
0
0

easy ;-)

 

the code should be:

 

var date = APPLICATION.getInfo().dateNowInternalFormat;

var currentYear = Convert.subString(date, 0, 4);

var currentMonth = Convert.subString(date, 4, 6);

 

you forgot "var".


Viewing all articles
Browse latest Browse all 9052

Trending Articles



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