Document functions; show datetime in log.