How to create a parameter with a time stamp

Hi
I am trying to create a file name with a current time stamp. The name will be used in the next component in the protocol. What is the best way to do that?
Thanks

Man