vb.net GetFileInfo LastWriteTime in local time - need UTC

Advertisement

ScottyB
Guest

vb.net GetFileInfo LastWriteTime in local time - need UTC

Hi I'm using vb.net to call Session.GetFileInfo(sPathFile).LastWriteTime.ToString("MM/dd/yyyy") and it's returning the time as my local time.

I need it to return UTC. All the solutions I found deal with the interface, but I need something I can call in code.




Thanks in advance

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum