>I'm working on an application running with MySQL 5.0.
If you look at the output of mysqlbinlog, you'll see it can play
back a history of queries with a fake time set using SET TIMESTAMP,
which takes a UNIX timestamp as a value. This works only on a
particular connection. I'm not sure what privileges it requires
to use it.
SET TIMESTAMP=unix_timestamp('1999-04-01 12:34:56');
returns '1999-04-01 12:34:56'