in reply to Embed Unix command inside unix command in perl
See POSIX::strftime. Also, I'm not sure why you want to use backticks when you can do the whole thing in Perl. But then again, it's not even clear to me what you want to do exactly.