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

This reverts commit 849268ef73206cd6b94b3721555f4fca0e64ebb3.