Add time stamp to unix command

Hi,

I am running a shell script which writes to a log file. Is there any way I can get the name of the log file to be a time stamp:

sh deploy.sh TIMESTAMP.log 0

Is there a way I can make TIMESTAMP above an actual time stamp.

/jlar

sh deploy.sh `date '+%F-%T'`.log 0 

See man date for the format descriptors available in date.

Thanks ken_yap… that did the trick…