The Alpha Magnetic Spectrometer (AMS-02) is a Cosmic Rays
(CRs) detector. Thanks to the its large acceptance is possible to study electrons and positrons fluxes variation, due to the solar modulation. This will help in the
understanding of solar physics and in the propagation of CRs in the Heliosphere environment. In this contribution, the employed analysis techniques in the measurements of electrons and positrons fluxes variation in time will be discussed