Log date with format