Date and Time Stamp appended to Scanned Data

Colleagues,

Has anyone implemented a scanning solution for a customer who required that a date and time stamp as well as the scanner's serial number be appended to the data scanned from the bar code?  If so, would you share how?  If you have an example or sample code that you could send, it would be much appreciated.

Thanks!

Mario