in reply to Re: How do I find today's date?
in thread How do I find today's date?

Add space before and after the '.'
print "$day\-" . ($month+1) . "-" . ($year+1900) . "\n";