That is, if you don't want today's date to be printed as 100.09.11printf("%4d.%02d.%02d\n",$year+1900,$month,$day);
You might want to use sprintf if you are trying to get it in a string.
In reply to RE: Re: Date format question
by BlaisePascal
in thread Date format question
by monk2b
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |