to_stream spec ip to date