removes moment dependency using built-in Date