PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
When i run this bunch of code my own local machine it gives me following output:
November 12, 2006
Sunday, 09 pm
but when i run it on server it gives me following output:
December 31, 1969
Wednesday, 04 pm
No that time is the UNIX epcoh. strtotime() has been tweaked many times over many versions of PHP. It's not the most consistent function across versions unfortunately.