Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: Time zone and 'lapsed under NT
Date: 27 Aug 1999 19:55:11 +0200	[thread overview]
Message-ID: <m3yaexaz28.fsf@quimbies.gnus.org> (raw)
In-Reply-To: Toby Speight's message of "12 Jul 1999 19:37:10 +0100"

Toby Speight <Toby.Speight@streapadair.freeserve.co.uk> writes:

> (current-time)
> => (14218 11870 732000)
> (current-time-string '(14218 11870 732000))
> => "Mon Jul 12 19:05:18 1999"
> 
> That's local time for me, too (on NT).  What I'm not sure about is
> whether the representation of (current-time) is the same on both
> platforms; it's possible that it is seconds-after-local-epoch on one
> platform and seconds-after-UT-epoch on the other.  If
> (current-time-string) matches, you'd only see the difference if (a)
> you transfer numeric times between the platforms or (b) you build a
> numeric time from something other than (current-time).  We're doing
> (b).  Just a theory.  Can you report what (current-time-string '(14218
> 11870 732000)) gives you?

(current-time-string '(14218 11870 732000))
=> "Mon Jul 12 20:05:18 1999"

Ick.

> P.S. Lars, could you report this to the Emacs bug team?  Ta.  I guess
> you'd better include the associated documentation bug (what zone is
> the epoch?), too.

Uhm, ah...  I forget.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


  parent reply	other threads:[~1999-08-27 17:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-09 15:23 Lars Magne Ingebrigtsen
1999-07-09 16:31 ` Toby Speight
1999-07-09 21:01   ` Lars Magne Ingebrigtsen
1999-07-12 18:37     ` Toby Speight
1999-07-15 11:55       ` Toby Speight
1999-08-27 17:57         ` Lars Magne Ingebrigtsen
1999-08-27 17:55       ` Lars Magne Ingebrigtsen [this message]
1999-07-12 18:44     ` Toby Speight

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3yaexaz28.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    /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.
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 NNTP newsgroup(s).