Hi,
got a small problem/question here with regards to getting the day of the week.
To get the day of the week I use:
$day=(Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun)[(localtime(time))[6]];
which returns the correct day of the week, however, my script needs the following library and declares:
use...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.