Yes, you can. Like most other baking products, molasses tend to have a best-by or sell-by date instead of an expiration date. Therefore, molasses is safe to use even after this date (which is not the same as the expiration date) has passed.