Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!necntc!ima!haddock!karl From: karl@haddock.ima.isc.com (Karl Heuer) Newsgroups: comp.emacs Subject: Re: insert time/date and signature Message-ID: <7243@haddock.ima.isc.com> Date: 9 Sep 88 20:37:14 GMT References: <8809081924.AA09732@symbol.sunecd.com> <29477@bbn.COM> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Organization: Interactive Systems, Boston Lines: 11 In article <29477@bbn.COM> mesard@bbn.com (Wayne Mesard) writes: >GNU Emacs has a (current-time-string) function. ... >This has the disadvantage of outputting the time in that bizarre >ctime(3) format. But it would be trivial to add some "substring" calls >to get it to do the right thing. It would be better yet if, instead of having to reverse-engineer the string format, we could just invoke an elisp equivalent to localtime() (probably returning a nine-element list of integers, or maybe eight integers and a boolean). It shouldn't be too hard to add this. Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint