|Yeah so much easier to get the date in powershell:|
I tried doing it in batch, but it became a monstrosity. Between using tzutil to get a timezone offset, getting the date in a predictable way and doing the math to convert to UTC it becomes a horribly convoluted approach.
I'm not very good with powershell, but I think it wouldn't be too hard to get this whole thing into quite a small script...
Hopefully OP can use something other than batch...
Oh and Hi nbrane and M2! I was Judago in a past computing.net life.
message edited by whert