unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Xavier Maillard <xma@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Timestamps and php
Date: Sun, 15 Nov 2009 01:24:38 +0100	[thread overview]
Message-ID: <200911150024.nAF0Oco8013304@fed.local> (raw)

Hi,

Using a XML-RPC call, I am returned this information:

:datetime (19198 34091)

I'd like this to be transformed in something I can read. I know
encode/decode functions but I don't know how I can display the
result using format-time-string. Any idea ?

While at it, how can I convert a date into a "PHP timestamp"
which, as far as I know, looks like 1258190619.0.

Thank you.

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org




             reply	other threads:[~2009-11-15  0:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-15  0:24 Xavier Maillard [this message]
2009-11-15  6:14 ` Timestamps and php tomas
2009-11-15  8:58   ` [SOLVED] " Xavier Maillard

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=200911150024.nAF0Oco8013304@fed.local \
    --to=xma@gnu.org \
    --cc=help-gnu-emacs@gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).