Home php How can I find out what day of the week through PHP?

How can I find out what day of the week through PHP?

Author

Date

Category

How can you find out what day of the week through PHP? For example, it is published at 18.10.2015 Show 7 (Resurrection).

& lt;? php
Echo TimeStamp ('1445180844');
FUNCTION TIMESTAMP ($ TIME) {
 // Function
}
? & gt;

Answer 1, Authority 100%

echo timestamp ('1445180844');
FUNCTION TIMESTAMP ($ TIME) {
   Echo Date ("N", $ Time);
}

Description of the date () function with all options, you can see docks .

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions