The typical duration of a solar light battery is two years.  This depends on whether you leave your solar lights activated (with battery) year-round - or remove the battery and store solar lights for the winter season (northern climates with snow).
Thanks to improvements in Solar panels and rechargeable batteries, Outdoor Solar light batteries can now hold power longer and are incredibly easy to install.