Python 並沒有提供datetime中month的天數(一個月,最多幾天),所以必須要用算的把它算出 ... def DaysOfMonth( dt ): #dt的type是datetime or date皆可
確定! 回上一頁