How are timestamps used in database systems?

Timestamps are often used in database systems to track when records were created or last modified, to support versioning of data, and to ensure that concurrent transactions do not conflict with each other.