Europian date/time format in PowerShell

Hello! Please help :-) - need to execute Get-MessageTrackingLog command but it understands AM/PM date/time format only. For example,

Get-messagetrackingLog -Start "7/14/2015 09:00 PM" -End "7/14/2015 10:00 PM" -Recipients "user@company.com" |Where {$_.eventid -eq "SEND"}| Select {$_.Sender},{$_.Recipients},{$_.TimeStamp},{$_.eventID}

How can I use Europian date/time format? I need this command should looks like:

Get-messagetrackingLog -Start "14/7/2015 21:00" -End "14/7/2015 22:00" -Recipients "user@company.com" |Where {$_.eventid -eq "SEND"}| Select {$_.Sender},{$_.Recipients},{$_.TimeStamp},{$_.eventID}

Thank you :-)


  • Edited by Thursday, July 16, 2015 2:56 PM
July 16th, 2015 2:55pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics