From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.help Subject: Timestamps and php Date: Sun, 15 Nov 2009 01:24:38 +0100 Organization: GNU's Not UNIX! Message-ID: <200911150024.nAF0Oco8013304@fed.local> Reply-To: Xavier Maillard NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1258244692 30134 80.91.229.12 (15 Nov 2009 00:24:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Nov 2009 00:24:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 15 01:24:45 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N9Sv7-0006Ow-1Q for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Nov 2009 01:24:45 +0100 Original-Received: from localhost ([127.0.0.1]:43934 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N9Sv6-0004wQ-An for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Nov 2009 19:24:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N9Suk-0004wB-9X for help-gnu-emacs@gnu.org; Sat, 14 Nov 2009 19:24:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N9Suf-0004vj-MC for help-gnu-emacs@gnu.org; Sat, 14 Nov 2009 19:24:21 -0500 Original-Received: from [199.232.76.173] (port=48731 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N9Suf-0004vg-GW for help-gnu-emacs@gnu.org; Sat, 14 Nov 2009 19:24:17 -0500 Original-Received: from out4.smtp.messagingengine.com ([66.111.4.28]:34949) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N9Suf-0005mb-81 for help-gnu-emacs@gnu.org; Sat, 14 Nov 2009 19:24:17 -0500 Original-Received: from compute2.internal (compute2.internal [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id D6ECFBF54D for ; Sat, 14 Nov 2009 19:24:16 -0500 (EST) Original-Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Sat, 14 Nov 2009 19:24:16 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=date:message-id:from:to:subject:reply-to; s=smtpout; bh=O0Z7NatEEXtbhOouMII2oYowjW8=; b=QMFm4RVtFXYEG3NI+Qks7URSkSCAOFekqmzGQeMbGZAwlqOoxKD0Yv3n7AEvQrFLcj2DlfQSPCN/DXz0Zi/Gwd3ZeWPcHl/+ezhNzulshb0KOn5n0a2v/kkFIkiuZeTsBECW4ekRTIAE9jXpZ4H4uJW2L179m7U1ggur4uboDwE= X-Sasl-enc: vMyG7NMaaUnotmZe+A7zBN5wRXDnRYmPz0kUwvABOpFY 1258244656 Original-Received: from fed.local (cha51-2-82-244-211-40.fbx.proxad.net [82.244.211.40]) by mail.messagingengine.com (Postfix) with ESMTPSA id 642C24AFE20 for ; Sat, 14 Nov 2009 19:24:16 -0500 (EST) Original-Received: from fed.local (fed.local [127.0.0.1]) by fed.local (8.14.3/8.14.3) with ESMTP id nAF0OdYD013308 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 15 Nov 2009 01:24:39 +0100 Original-Received: (from xavier@localhost) by fed.local (8.14.3/8.14.3/Submit) id nAF0Oco8013304; Sun, 15 Nov 2009 01:24:38 +0100 X-Authentication-Warning: fed.local: xavier set sender to xma@gnu.org using -f User-Agent: Rmail GNU emacs 23.1 on cat: /etc/slackware-version: No such file or directory Jabber-ID: xavier@maillard.im X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:69746 Archived-At: 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