September 2009
Beginner
942 pages
85h 34m
English
systime
systime( ) {G}Return a time-of-day value in seconds since midnight, January 1, 1970, UTC.
Log the start and end times of a data-processing program:
BEGIN {
now = systime( )
mesg = strftime("Started at %m/%d/%Y %H:%M:%S", now)
print mesg
}
process data ...
END {
now = systime( )
mesg = strftime("Ended at %m/%d/%Y %H:%M:%S", now)
print mesg
}