Correct

因地因时

/ yīn dì yīn shí / 
Strokes

Example

Definition

in accordance with the time and the place