August 2000
Intermediate to advanced
816 pages
29h 45m
English
systime
systime()
Return number of seconds since midnight UTC, January 1, 1970.
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
}Read now
Unlock full access