print scalar localtime;
It you want a different format, use POSIX 'strftime';.
After Compline,Zaxo
In reply to Re: Display clock by Zaxo in thread Display clock by Anonymous Monk