Get-PodeTimestamp
SYNOPSIS
Gets the current timestamp.
SYNTAX
Get-PodeTimestamp [-AsUtc] [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
Gets the current timestamp, as a DateTime object.
EXAMPLES
EXAMPLE 1
$timestamp = Get-PodeTimestamp
EXAMPLE 2
$timestamp = Get-PodeTimestamp -AsUtc
PARAMETERS
-AsUtc
If specified, returns the timestamp in UTC format.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
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.