@TARFILEDATE[tararchive,n]:  Returns the date and time of file n in a .tar archive.

 

See also TAR and UNTAR.

 

tar tcc *.cpp

echo %@tarfiledate[tcc.tar,0]

2021-06-15 13:16:12