Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Ok, convert this!

$
0
0

This should give you a push in the right direction:

PS C:\> $month,$day,$hour,$minute,$second,$timezone = ‘Jul 16 16:08:30 +00:00′ -split ‘[: ]‘,6
PS C:\> $month
Jul
PS C:\> $day
16
PS C:\> $hour
16
PS C:\> $minute
08
PS C:\> $second
30
PS C:\> $timezone
+00:00

Viewing all articles
Browse latest Browse all 13067

Trending Articles