test HTTP datetime conversions