use POSIX; print strftime("%Y/%m/%d %H:%M:%S", localtime),"\n";