  This thesis presents an analysis of the cosmic-ray electron and positron flux
using the AMS-02 detector on the International Space Station as a function of
time and energy. The time-averaged flux is integrated over 6.5 years of AMS-02
science data and provides the electron and positron flux with unprecedented
accuracy, covering the energy range from 0.5 GeV to 1 TeV. In total 28.39
million events were identified as electrons and 1.95 million as positrons. For
each of the 88 Bartels rotation periods (27 days), within the 6.5 years, an
individual electron and positron flux is derived spanning the energy range from
1 - 50 GeV.
