time(); time("%a %b %d %H:%M:%S %Z %Y"); //are equivalent ways of returning the current time in the default format used by the UNIX date command.