The answer can be written as
$${6\cdot13!-5\cdot12!\over1!2!2!3!3!3!}$$
which computes to $40{,}471{,}200$, as in EuxhenH's answer. The logic here is to start by making the $14$ digits all distinct by temporarily adding subscripts (e.g., the three $5$'s become $5_1$, $5_2$, and $5_3$). The $6\cdot13!$ counts the number of permutations that end with one of the $6$ even digits ($0$, $2_1$, $2_2$, $4_1$, $4_2$, and $4_3$), but this includes permutations that start with the $0$, so we subtract the $5\cdot12!$ permutations that start with the $0$ and end with one of the $5$ other even digits. Finally, we divide by the rearrangements of the copies of the digits, so as to remove the subscripts that we attached to make them distinct.