I am looking for a library (open source) like Joda-Time in the Java world. Is there any library like that?
Joda-Time is very helpful to calculate date and time. I can add days, weeks, month, year and also can converting date and time easily.
I wish there is library like Joda-Time for PHP.
Edit: I need some functions that available in Joda-Time like daysBetween (to calculate number of days between 2 date), monthsBetween and weeksBetween ... Some functions about add and substract date is available from PHP itself.
This is what you are looking for : https://github.com/briannesbitt/Carbon
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With