Slightly update title logic.
Use POSIX module, for strftime.