Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

ScottyB

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