For about six months.
The refrigerator or cool dry place unopened containers should keep for about one year while opened containers should keep for about six months.
They will turn to sugar (crystalize) in 6 months or less, you can revive them a little once or twice after that by heating them but they won’t keep long, eat them while they are good.