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 .