in reply to Output of Date
I suggest you refer to the manual for further inforamtion (see this)# from O'REILLY's book $thisDay = (Sun,Mon,Tue,Wed,Thu,Fri,Sat)[(localtime)[6]]; # will retu +rn the current day of the week # localtime is typically used as follows: ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localt +ime;
|
|---|