This is a simple code which helps to give the difference between two date time strings. The current values have a difference of 1yr. But changing any of the values in days months year will give the appropriate difference to the nearest highest value