I wouldn't store it without circulating it for longer than a day and definitely not in the sunlight..
If you mix it and store it, you can keep it circulated for a week before use.
keep it sealed and out of the sun should last you a good amount of time. I store about 50g of mixed saltwater for a month til I have to make a new batch for water changes.