Export-CSV should include milliseconds for datetime objects
Votes from Connect: 3
Original Date Submitted: 3/24/2015 1:39:18 PM
Description:
Contact Information
Handle: sba923
Site Name: PowerShell
Feedback ID: 1200023
Problem Description:
As of today, Export-CSV doesn't include milliseconds when dumping datetime objects. This makes it impossible to process sub-second resolution data e.g. in Excel.
Workaround is to convert the datetime objects to strings using ("{0:yyyy-MM-dd HH:mm:ss.fff}" -f $timestamp), but that's not really convenient...
Product Studio item created by Connect Synchronizer due to creation of feedback ID 1200023 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=1200023).
Repro Steps:
Internal BugId: 14334

1 comment
-
Dan Cook commented
This makes no sense, if the datetime object contains millisecond information - why not export it?