[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What do I use if not `float-time'?
From: |
Juri Linkov |
Subject: |
Re: What do I use if not `float-time'? |
Date: |
Wed, 06 Jan 2010 22:27:09 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (x86_64-pc-linux-gnu) |
>> 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/