@@ -28,8 +28,8 @@ function Get-APFileDateTaken {
$PropIndex
) -replace $CharWhiteList
-
- $DateTaken = try { [DateTime]($DateTaken) } catch { $null }
+ $culture = Get-Culture
+ $DateTaken = try { [DateTime]::Parse($DateTaken, $culture) } catch { $null }
return $DateTaken
}