| external help file | PSDates-help.xml |
|---|---|
| Module Name | PSDates |
| online version | |
| schema | 2.0.0 |
This function offers a generic Easter computing method for any given year, using Western, Orthodox or Julian algorithms.
Get-Easter [[-year <Int32>]] [[-Calendar <String>]] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Shamelessly stolen from python dateutil (https://github.com/dateutil/dateutil/blob/master/src/dateutil/easter.py)
Get-Easter -Year 2024
Gregorian : is the default and valid from 1583 to 4099 Orthodox : valid from 1583 to 4099 Julian : valid from 326
Type: String
Parameter Sets: (All)
Aliases:
Accepted values:
Required: True (None) False (All)
Position: 1
Default value: Gregorian
Accept pipeline input: False
Accept wildcard characters: False
DontShow: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Accepted values:
Required: True (None) False (All)
Position: Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False
DontShow: FalseThe year to get Easter from
Type: Int32
Parameter Sets: (All)
Aliases:
Accepted values:
Required: True (None) False (All)
Position: 0
Default value: (Get-Date).Year
Accept pipeline input: False
Accept wildcard characters: False
DontShow: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Fill Related Links Here