web server date and my date!
Posted: Wed Mar 25, 2009 4:15 am
dear all,
i am testing some code and it depends on the day. today is wednesday and i have some code that i want to test but the problem is, i have to wait until tomorrow "thursday" to actually check if my code is working! is there a way to make in php that the current date is thursday?
i am testing some code and it depends on the day. today is wednesday and i have some code that i want to test but the problem is, i have to wait until tomorrow "thursday" to actually check if my code is working! is there a way to make in php that the current date is thursday?