Made time recording more consistent (datetime.now())