def rmGetNumberOfDaysBetweenTimestamps(startTimestamp, endTimestamp):
    d1 = datetime.fromtimestamp(startTimestamp)
    d2 = datetime.fromtimestamp(endTimestamp)
    delta = d2-d1
    return delta.days