Convert between DateTime and RFC2822/822 formats