Skip to main content

Convert-DaysToWorkDay

SYNOPSIS

Converts Days To Work Day.

SYNTAX

Convert-DaysToWorkDay [-Days] <Int32> [[-StartDay] <DateTime>]
[<CommonParameters>]

DESCRIPTION

Converts Days To Work Day.

EXAMPLES

EXAMPLE 1

Convert-DaysToWorkDay 1

Runs Convert-DaysToWorkDay

EXAMPLE 2

Convert-DaysToWorkDay -1

Runs Convert-DaysToWorkDay.

PARAMETERS

-Days

Specifies the Days value.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-StartDay

Specifies the Start Day value.

Type: DateTime
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: (Get-Date).Date
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Object

NOTES

ALIASES

None.

PLATFORM APPLICABILITY

Windows only. The platform-aware loader does not export this command on Linux or macOS.

POWERSHELL COMPATIBILITY

See PowerShell compatibility for the supported runtime policy. PowerShell 7.6 LTS is preferred.

https://docs.keldor.dev/powershell/keldor/Convert-DaysToWorkDay