Epoxy, (resin and hardener) properly stored in bulk in well sealed containers has a long shelf life and often still retains most of its performance well after its expiration date. However the resin component is prone to separation and crystallisation at low temperatures, and unless it is warmed up till the crystals melt, then thoroughly remixed, they cause incomplete curing and major degradation of its mechanical properties. Many epoxy hardeners degrade in the presence of moisture and carbon dioxide, and if the hardener is excessively degraded by absorbing moisture or CO2 from the air before use, or the joint absorbs too much moisture and CO2 while curing (e.g. due to excessively low temperatures slowing setting + high humidity), again the result is degraded mechanical properties, compounded by 'amine blush' - a waxy film on the surface produced from the reaction of the hardener with moisture + CO2, that will cause adhesion failure if it isn't totally removed before further gluing or painting. Yellowing and crystallization round the container opening is indicative of such degradation, and is *NOT* resolvable.
Because consumer packs in tubes or syringes are so small volume, shelf life is poor and if stored in cold, damp or excessively warm conditions the the odds are against you. Syringes are particularly problematic as the plunger seal is often non-hermetic, and once opened the caps are often fairly ineffective. Foil tubes are much better, as until opened, there is a foil seal, and they usually have well-fitting screw caps, so as long as they are mechanically protected by the pack and if partially dispensed, squeezed carefully so crossing creases resulting in pin-pricks don't form, they can be usable for a long time after first opening. However the crimped seal at the other end can be suspect so its a bad idea to use the last few ml of an old tube in a critical application.
Most clear and translucent epoxies have low UV resistance, and if used outside should always be overcoated, preferably with opaque paint, but if a clear finish is required, then several coats of a UV resistant two component varnish may be used.
A further note: Epoxies are incompatible with Polyester resin products - polyester resins have poor adhesion to cured epoxy and the curing by-products of polyester resins tend to inhibit epoxy cure, so unless the polyester resin is well aged in a low humidity environment so all volatiles have outgassed to a minimal level (years rather than weeks), adhesion of epoxy to cured polyester resin can be poor due to incomplete polymerisation of the boundary layer. Epoxies are typically inhibited by carboxylic acids (e.g acetic acid), so its also worth noting that spirit vinegar mixed with an equal quantity of acetone will get uncured epoxy off tools and out of brushes, and ordinary table vinegar + detergent and sand or a similar mild abrasive is one of the better ways of getting it off skin.