Create TimeTaken

measure time taken by any function by simple date object