src/bda/calendar/base/converter.py
def dt2epochday(dt):
    """Number of days since epoch.

    Timezone gets a problem here, we need to normalize all to GMT to make it
    recognize the same day even if it a different timezone:
    i.e. 2008-05-01T00:00:00+02:00 (CEST)
    """
    DT = dt2DT(dt)  # if possible replace this one and call in next line
    days = DT.earliestTime().millis() / ONEDAYINMILLIS
    idays = floor(days)
    return idays
Number of days since epoch.

    Timezone gets a problem here, we need to normalize all to GMT to make it
    recognize the same day even if it a different timezone:
    i.e. 2008-05-01T00:00:00+02:00 (CEST)
    
Number of days since epoch.
Timezone gets a problem here, we need to normalize all to GMT to make it
recognize the same day even if it a different timezone:
i.e.
Number of days since epoch . Timezone gets a problem here we need to normalize all to GMT to make it recognize the same day even if it a different timezone : i . e .
def dt2epochday(dt):
    DT = dt2DT(dt)  
    days = DT.earliestTime().millis() / ONEDAYINMILLIS
    idays = floor(days)
    return idays
def dt2epochday ( dt ) : DT = dt2DT ( dt ) days = DT . earliestTime ( ) . millis ( ) / ONEDAYINMILLIS idays = floor ( days ) return idays
Number of days since epoch.
Number of days since epoch .
"""Number of days since epoch.

    Timezone gets a problem here, we need to normalize all to GMT to make it
    recognize the same day even if it a different timezone:
    i.e. 2008-05-01T00:00:00+02:00 (CEST)
    """ # if possible replace this one and call in next line
dt