What is it you're trying to do? The above code works and returns the day number of the week i.e. 1=Sunday, 2=Monday etc. Are you wanting the day in a written format like Monday etc or....? Saturday 12.00
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.