Dry kibble can have a shelf life of several months after it is opened; canned dog food is typically good from one to five years, as long as the can is not dented or damaged.
While shelf life can extend past the expiration date, try to use the food prior to that date for the most nutritional value, as well.