Re: Can copy_file function creates preserve timestamp?

new topic     » goto parent     » topic index » view thread      » older message » newer message

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")

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu