Yesterday, my friend Roshan was was struggling to find the days difference between to two dates in PHP. Well, after a while I came up with the solution for him. The date format he’s using was “YYYY-MM-DD”, which is the standard format of date value stored in the MySql database.
Function to [...]
Archive for the ‘Date-Time manipulation’ Category
Finding difference of days between two dates in PHP
Posted by Bagesh Singh on March 19th, 2010
Solving time difference between hosting server and local timezone in PHP
Posted by Bagesh Singh on March 19th, 2010
I think this is one of the common problem you’ll face while you’re working for the website of a particular country and web server is located in another different country. If client have the dedicated server then you won’t face this problem. But if you just own a single account of [...]
Posted in
Tags: