Revert "Replace all Date object to Number(EPOCH)"

This reverts commit c8d1679d2c0fd5f3d3fec670b1589f7fe60bc861.
Revert "Revert "Replace all Date object to Number(EPOCH)""

This reverts commit 849268ef73206cd6b94b3721555f4fca0e64ebb3.