Calendar: Difference between revisions

Line 9,566:
 
=={{header|VBScript}}==
VBScript has a good set of time-date functions and can easily get the names of weekdays and months from the OS. The program issuessends its output line toby line to stdout so it can babe redirected to a file or to a printer. By deaultdefault the code will print the calendercalendar in yourthe locale set in your Windows, you can chengeselect itanother one if required.
 
<lang vb>
'call it with year, number of months per row (1,2,3,4,6) and locale ("" for default)