From: Juri Linkov <juri@jurta.org>
To: herring@lanl.gov
Cc: emacs-devel@gnu.org, Deniz Dogan <deniz.a.m.dogan@gmail.com>
Subject: Re: What do I use if not `float-time'?
Date: Wed, 06 Jan 2010 22:27:09 +0200 [thread overview]
Message-ID: <877hrv6u2q.fsf@mail.jurta.org> (raw)
In-Reply-To: <41805.130.55.118.19.1262791780.squirrel@webmail.lanl.gov> (Davis Herring's message of "Wed, 6 Jan 2010 07:29:40 -0800 (PST)")
>> Okay, so what do I use instead? I just want a "UNIX timestamp" as an
>> integer or string. What's the idiomatic way to get that?
>
> Use `current-time'. The trick is that you then have to deal with multiple
> integers (because Emacs ints are (often) shorter than 32 bits).
Is a list of integers still necessary for 64-bit machines where
most-positive-fixnum is greater than the number of microseconds
since January 1, 1970.
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2010-01-06 20:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-06 15:15 What do I use if not `float-time'? Deniz Dogan
2010-01-06 15:29 ` Davis Herring
2010-01-06 20:27 ` Juri Linkov [this message]
2010-01-07 1:08 ` Stephen J. Turnbull
2010-01-06 20:40 ` Deniz Dogan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877hrv6u2q.fsf@mail.jurta.org \
--to=juri@jurta.org \
--cc=deniz.a.m.dogan@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=herring@lanl.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).