Allow printing date to log