Krawler Interview Question

Write a method to calculate difference between dates