Currently the value from a datetime control of a form results in a double-quoted datetime string. To parse it properly in powershell you have to remove the double quotes.