bash script to count the time of transaction

Halo,

Bash Script can get the time of process the trasaction or not?
For example, bash script use to procee the trasaction, like select and checking.. then generate the XML. after it, i need to get the time which to count the process.

Anyone can help me?

Thank you

Just execute "date" at appropriate points in the script. If you want the date to produce a particular format, look up the man page on it or search this forum for possibilities