• I haven't used the posted scirpt, I tried it doing some other way.

    But I am sure even if I use the posted script at the start of file date and time will be stamped.