Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 06.11.2016 02:00
- $format = "dd.MM.yyyy HH:mm"
- $provider = [System.Globalization.CultureInfo]::CurrentCulture
- $newDate = [datetime]::ParseExact($dateCreaString,$format,$provider)
- Exception when calling "ParseExact" with "3" argument(s): "The string has not been recognized as a valid DateTime. »
- + $newDate = [datetime]::ParseExact($dateCreaString,$format,$provid ...
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
- + FullyQualifiedErrorId : FormatException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement