That's for a minimum energy Hohmann transfer, and within the launch window. To be truly threatening, nukes aimed at Mars have to be much more wasteful in terms of payload for the reaction mass. You can get to Mars in a day or less, but with a lot more energy needs, it's a matter of what you're willing to pay.