Capture timestamp of data?

Does anybody know how to capture the timestamp of a data point being processed by a Tickscript?