Skip to main content
1 of 2
sindu
  • 639
  • 7
  • 17

this format is working for me

$csvDate = [datetime]::ParseExact("23/09/2015 05:41:27","dd/MM/yyyy HH:mm:ss",[Globalization.cultureinfo]::GetCultureInfo("en-US"))

$currentItem["Publish Date"] = [Sitecore.DateUtil]::ToIsoDate($csvDate)

sindu
  • 639
  • 7
  • 17