powershell - Windows ISO8601 timestamp -


i need convert date in windows powershell iso8601 format. in linux/unix no problem

tz=0 date -d "<random-format>" +%y-%m-%dt%h:%m:%s.000z 

now need same in windows powershell. output format on windows is

wednesday, 19. july 2017 01:06:13

any tips me?

powershell's get-date supports standard .net time formats. o round-trip format complies iso 8601. so,

get-date -format "o" 2017-08-15t12:10:34.4443084+03:00 

Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -