fix timedate(), implement timedate() in logging for real timestamps.