RosettaCodeData/Task/Leap-year/PowerShell/leap-year.psh

3 lines
52 B
Plaintext

$Year = 2016
[System.DateTime]::IsLeapYear( $Year )