Powershell Create Date From String Javascript Methods For Querying