Print datetime on console to ease debugging.

It'll help to chase down possible bugs and it's useful for the general
user too.