Can somebody plz tell me why this function of php now() doesn't work properly. Someday it doesn't work properly like I have date validation that compares two dates one of server and another of user given date. But today it doesn't compare so results were null. So can anybody tell me the permanent solution for this. Because time and again these are burning problem that I face regarding dates and times. So plz help from anyone, highly appreciated. Thanks in advance:)

It has always worked for me and you post the code in question?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.