# Returns the system's date and time
# Return Type: DateTime
# Execution Context: User
$date_current = get-Date -DisplayHint Date
write-output $date_current
# Returns the system's date and time
# Return Type: DateTime
# Execution Context: User
$date_current = get-Date -format s -DisplayHint Date
write-output $date_current

Update date time return to ISO format
Update date time return to ISO format

@andreano
