Quantcast
Channel: VBForums - ASP, VB Script
Viewing all articles
Browse latest Browse all 688

new string what?

$
0
0
strNoWOCalDate = string(2-len(month(cdate(strCalDate))), "0") & month(cdate(strCalDate)) & string(2-len(day(cdate(strCalDate))), "0") & day(cdate(strCalDate)) & right(year(cdate(strCalDate)),2)


Does anyone know what the heck the above is doing?
I'm in the process of updating it to C# but that is classic ASP/VBScript code. I just dont quite get what its doing there.

Viewing all articles
Browse latest Browse all 688

Trending Articles



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