Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Perl >> Snippet

time handling


localtime                   # function that returns local time
@timeinfo = localtime       # puts 9 entries into array @timeinfo

( $sec , $min , $hour , $mday , $mon , $year_off , $wday , $yday , $isdat ) = localtime