What is the difference between a timestamp and a datetime?

A timestamp is a numeric value that represents a point in time as the number of seconds or milliseconds since a particular epoch, while a datetime is a data type that represents a specific date and time in a particular timezone.