Can you provide various options so that I can copy and put other dates?

This Evaluator button will copy the date:

items = GetItems("s");

for (i = 0; i < Len(items); i++) {
	f = ArrayGet(items, i);
	d = FileDate(f, "c") As "D#yyyy-MM-dd";
	cmd = "SetAttr FILE=""" + f + """ META releasedate:" + d;
	Output(cmd);
	Run(cmd);
}
XML
<?xml version="1.0"?>
<button backcol="none" display="both" label_pos="right" textcol="none">
	<label>FileDate to Realeasedate</label>
	<icon1>#newcommand</icon1>
	<function type="eval">
		<instruction>items = GetItems(&quot;s&quot;);</instruction>
		<instruction />
		<instruction>for (i = 0; i &lt; Len(items); i++) {</instruction>
		<instruction>	f = ArrayGet(items, i);</instruction>
		<instruction>	d = FileDate(f, &quot;c&quot;) As &quot;D#yyyy-MM-dd&quot;;</instruction>
		<instruction>	cmd = &quot;SetAttr FILE=&quot;&quot;&quot; + f + &quot;&quot;&quot; META releasedate:&quot; + d;</instruction>
		<instruction>	Output(cmd);</instruction>
		<instruction>	Run(cmd);</instruction>
		<instruction>}</instruction>
	</function>
</button>

Update 2026-07-10
Opus 13.24.2 and up allow a single command line:

SetAttr FILE={filepath} META releasedate:{=FileDate(filepath, "c") As "D#yyyy-MM-dd"=}

If you want to copy date and time, use ExifTool:

/programfiles\ExifTool\exiftool.exe -"QuickTime:CreateDate<FileCreateDate" -api QuickTimeUTC -@ {allfilepath|filem}

How to use buttons and scripts from this forum