Sorry I am asking a question related to another post(How to add loop of .bak files to restore in single sscript?) where I can not able to add a comment.
Based on script posted in question (How to add loop of .bak files to restore in single sscript?) I have restored .bak files and put .mdf and .ldf files in folder. I have completed restoring on Friday 9th sep 2016 but when I checked this morning .mdf and .ldf have date 10th sep 2016. why the date is showing as 10 sep 2016 instead of 9th sep 2016? please let me know.
Thanks.