Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Import-csv and convert column to [datetime] object

$
0
0

I have a flat file that I need to import into a csv and convert one column to date time object

 

the format of the column is - 2006-05-23

I was trying to import with [datetime] but that didn't work well..

Can someone give me a kickstart.

 

thx


Viewing all articles
Browse latest Browse all 6937

Trending Articles