Started using datetime class for timestamp comparisons