start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: gmtime Chapter 8
Standard Modules
Next: 8.159 Time::gmtime
 

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


Previous: Reference: gmtime Perl in a Nutshell Next: 8.159 Time::gmtime
Reference: gmtime Book Index 8.159 Time::gmtime

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.