How to get the modified date of specific file in remote Windows Server

Dear all. The studio is installed in my local machine. However I need to get the modified date of file( whole path is D:\XTlog\xxx.log) in the remote Windows server(The precondition is that I have open the remote server ). How could I achieve that? Thanks in advance.

Hi @FrankZhang

Do the standard ways of retrieving the modified date work here? See topics below which should be helpful (each has a post marked as a solution):
https://forum.uipath.com/search?q=get%20file%20modification%20date%20status%3Asolved

Hi @loginerror
Thanks for your suggestions. When the expression File.GetLastWriteTime(path).ToString is used, it works for the files-path in my local machine, however it returns 01/01/1601 for the file-path.

@FrankZhang Refer This post and download zip file

Thanks indra, but it does not apply to my case.

Hi Frank, did you found any resolution to this? I’m having the same issue as mentioned by you above, the date retrieved by the syntax is 01/01/1601.

1 Like

Hi @CristianDan

Welcome to our UiPath Forum :slight_smile:

Could you provide an example, maybe a screenshot of your issue?

The full syntax you used might help others relate to your issue and find the solution.