print date to log