home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


gmctime

$

gmc

 
= gmctime()

Overrides the core gmtime function in scalar context; returns a string with the date and time:

use Time::gmtime;
$gmc = gmctime();
print $gmc;
Then the output of the print command looks like:
Thu Apr 9 18:15:06 1998