Using Date instead of window perf.