Jak zjistit p°echodn² rok |
Postup: V modulu deklarujte tyto funkce: Function IsLeapYearA(ByVal yr As Integer) As Boolean If ((yr Mod 4) = 0) Then End Function Public Function IsLeapYearB(ByVal yr As Integer) As Boolean IsLeapYearB = Day(DateSerial(yr, 2, 29)) = 29 End Function Volßnφ: |
Autor: The Bozena |