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 |