'SetAttr Meta "taken:<date time>"' results in incorrect date/time

I’m using the following code to set the DATE TAKEN in multiple picture files:

SetAttr META "taken:2012-01-18 00:00:01"

However, the resulting date is 2012-01-21, with various times ranging from 18:41:19 to 19:44:55. I haven’t yet tried setting any other dates/times associated with the files. Am I missing something or doing something wrong? As far as I can tell, I’m following the instructions in the help file. Using DOpus v12.7 x64.

Try SetAttr META "taken:20120118 00:00:01"

The keyword you need to use is datetaken, not just taken. With that fixed your command works fine here.

SetAttr META "datetaken:2012-01-18 00:00:01"

Ok, thanks. I’m pretty sure that I saw an example with just "taken" in the help file somewhere. If I find it again, I’ll let you know.