When you use zsh as your shell, you can use 
setopt EXTENDED_HISTORY 
to save timestamps to you commands in .zsh_history.
However, the timestamps are in seconds since the epoch, and therefore 
not quite well readable.
This simple script will parse .zsh_history and convert timestamps to
readable format. As a bonus, it will colourise the output.

You need python to run the scripts, and not much else.

Installation:
copy zshistrc to /etc, or rename it to ~/.zshistrc, and modify
according to your needs.
Copy zshist somewhere in your path.
Copy manpage to an appropriate place.
That's all.

Usage:
zshist without arguments will display $HOME/.zsh_history
If there is an argument, and it is file, it will be displayed.
If it is a directory, zshist will append .zsh_history to the argument
and try to display this.

Changes:
Mon Jan 31 14:47:00 CET 2000: if an argument is a directory, append .zsh_history
to it.

Written by Radovan Garabik <garabik@melkor.dnp.fmph.uniba.sk>.
For new versions, look at http://melkor.dnp.fmph.uniba.sk/~garabik/zshist.html

Copyright is public domain - do whatever you want with this.

Special thanks to Milan Matos <matos@fmph.uniba.sk> for suggesting the name
of this script.
