Copy a variable date into Date Taken and Modified Date

That will overwrite any information in your clipboard. The method in the other thread won't do that.

It'll also only work on a single file at a time, while the method I linked to works with multiple files.

It works on multiple selected files for me.

I think they would all be set to the first file's date, not the date of each file.

You're correct.