datediff icon indicating copy to clipboard operation
datediff copied to clipboard

Simple module to calculate difference between two date

Results 2 datediff issues
Sort by recently updated
recently updated
newest added

2016-05-24T01:23:00+0000 - invalid date

Take two dates: `28 Feb 2015` and `28 Mar 2015`. Correct diff should be 1 month. Current `datediff()` implementation returns 0 months, 28 days: ``` {"years":0,"months":0,"days":28,"hours":0,"minutes":0,"seconds":0} ``` Although I find...