As long as you keep the hotdogs refrigerated they can last up to 2 weeks past the use by date.
You can keep the hotdogs longer in the freezer and they'll keep for up to a year in the freezer past the use by date.
I sometimes buy hotdogs when they're on sale and freeze them and have kept some as long as 1 year before and they've never made me sick.
The frozen temperatures in the freezer will keep the bacteria from growing on the hotdogs so that they stay good to eat.