Set date and time stamp of one file to another

Hi

I use "touch -t xxxxxxxx" command to set date/time stamp of a file. My requirement is to read the date/time stamp of a file and apply it to another file.

Is there anyway to do it simple instead of manually taking date/stamp of first file?

TIA
Prvn

See the "-r reference_file" option in "man touch" .

Thanks Methyl, it worked!