Re: Can copy_file function creates preserve timestamp?
- Posted by irv Jun 24, 2017
- 1156 views
No, the time stamp is put there by the OS.
If you are using Linux, you can use touch -r <old> <new>
Found on net for Windows, using PowerShell (not tested)
PS C:\mytest> (Get-Item "C:\mytest\myfolder1").CreationTime=("08 March 2016 18:00:00")