Escherichia coli chemotactic motion in spatiotemporally varying environments is studied by using a computational model based on a coarse-grained description of the intracellular signaling pathway dynamics. We find that the cells chemotaxis drift velocity v(d) is a constant in an exponential attractant concentration gradient [L] proportional, variantexp(Gx). v(d) depends linearly on the exponential gradient G before it saturates when G is larger than a critical value G(C). We find that G(C) is determined by the intracellular adaptation rate k(R) with a simple scaling law: G(C) infinity k(1/2)(R). The linear dependence of v(d) on G = d(ln[L])/dx directly demonstrates E. colis ability in sensing the derivative of the logarithmic attractant concentration. The existence of the limiting gradient G(C) and its scaling with k(R) are explained by the underlying intracellular adaptation dynamics and the flagellar motor response characteristics. For individual cells, we find that the overall average run length in an exponential gradient is longer than that in a homogeneous environment, which is caused by the constant kinase activity shift (decrease). The forward runs (up the gradient) are longer than the backward runs, as expected, and depending on the exact gradient, the (shorter) backward runs can be comparable to runs in a spatially homogeneous environment, consistent with previous experiments. In (spatial) ligand gradients that also vary in time, the chemotaxis motion is damped as the frequency omega of the time-varying spatial gradient becomes faster than a critical value omega(c), which is controlled by the cells chemotaxis adaptation rate k(R). Finally, our model, with no adjustable parameters, agrees quantitatively with the classical capillary assay experiments where the attractant concentration changes both in space and time. Our model can thus be used to study E. coli chemotaxis behavior in arbitrary spatiotemporally varying environments. Further experiments are suggested to test some of the model predictions.