gmctime
$gmc = gmctime()
- Overrides the core
gmtimefunction in scalar context; returns a string with the date and time:
use Time::gmtime; $gmc = gmctime(); print $gmc;
Then the output of theprintcommand looks like:
Thu Apr 9 18:15:06 1998
$gmc = gmctime()
gmtime function in scalar context; returns a string with the date and time:
use Time::gmtime; $gmc = gmctime(); print $gmc;
print command looks like:
Thu Apr 9 18:15:06 1998