ctime
$ct
= ctime()
- Overrides the core
localtime
function in scalar context; returns a string with the date and time:
use Time::gmtime; $ct = ctime(); print $ct
Then the output of theprint
command looks like:
Thu Apr 9 16:50:10 1998
$ct
= ctime()
localtime
function in scalar context; returns a string with the date and time:
use Time::gmtime; $ct = ctime(); print $ct
print
command looks like:
Thu Apr 9 16:50:10 1998