title: Set-ADAccountExpiration Isn't Set on the Local Time Format
body: <p>I created a PowerShell script that disables AD Users in Bulk, however, when the script runs the cmdlet <code>Set-ADAccountExpiration -Identity $User -DateTime &quot;$EndDate&quot;</code> where the $EndDate comes from Windows Form code below, he sets the expiration date for the AD User account as US Format (08/03/2021 - MM/DD/YYYY) instead of 'Global' Format (03/09/2021 - DD/MM/YYYY) even when I print the $EndDate I get 'Global' Format: <code>01/09/2021 00:00:00</code></p>
  <pre><code>$Form = New-Object Windows.Forms.Form -Property @{
      StartPosition   = [Windows.Forms.FormStartPosition]::CenterScreen
      Size            = New-Object Drawing.Size 300, 230
      Text            = 'Select User Contract Date'
      Topmost         = $true
      FormBorderStyle = 'FixedDialog'
      MaximizeBox     = $false
  }
  
  $Calendar = New-Object Windows.Forms.MonthCalendar -Property @{
      ShowTodayCircle   = $false
      MaxSelectionCount = 1
  }
  
  $Form.Controls.Add($Calendar)
  
  $OKButton = New-Object Windows.Forms.Button -Property @{
      Location     = New-Object Drawing.Point 95, 165
      Size         = New-Object Drawing.Size 75, 23
      Text         = 'OK'
      DialogResult = [Windows.Forms.DialogResult]::OK
  }
  
  $Form.AcceptButton = $OKButton
  $Form.Controls.Add($OKButton)
  
  $Result = $Form.ShowDialog()
  
  if ($Result -eq [Windows.Forms.DialogResult]::OK) {
      $EndDate = $Calendar.SelectionStart
  }
  </code></pre>