I have had an open jar of molasses in my cupboard since last Christmas. I used that very jar to make these gingerbread pancakes. I didn't feel ill after eating them so it seems molasses has a long shelf life.
This is as good a time as any to talk about molasses. Molasses is also called black treacle. Molasses sounds much more appetizing than black treacle. Black treacle sounds like a kind of moss that grows in dark and damp places.