added time inserting function to init-misc.el