Return-Path: X-Original-To: apmail-airavata-dev-archive@www.apache.org Delivered-To: apmail-airavata-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 227CB1109C for ; Fri, 6 Jun 2014 17:02:04 +0000 (UTC) Received: (qmail 47793 invoked by uid 500); 6 Jun 2014 17:02:03 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 47701 invoked by uid 500); 6 Jun 2014 17:02:03 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 47617 invoked by uid 99); 6 Jun 2014 17:02:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jun 2014 17:02:03 +0000 Date: Fri, 6 Jun 2014 17:02:03 +0000 (UTC) From: "Chathuri Wimalasena (JIRA)" To: dev@airavata.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AIRAVATA-1286) timeOfStateChange correct? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AIRAVATA-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14020047#comment-14020047 ] Chathuri Wimalasena commented on AIRAVATA-1286: ----------------------------------------------- Hi David, It seems date returns correctly with java clients. I ran an experiment and this is the experiment status update time I'm getting. Long value = 1402073799308 Actual date = 2014 06 06 12:56:39 > timeOfStateChange correct? > -------------------------- > > Key: AIRAVATA-1286 > URL: https://issues.apache.org/jira/browse/AIRAVATA-1286 > Project: Airavata > Issue Type: Bug > Components: Airavata Client > Affects Versions: 0.12 > Environment: PHP > Reporter: David Reagan > Assignee: Chathuri Wimalasena > > I can't seem to get the correct human-readable time from the value stored in experimentStatus->timeOfStateChange. For example: > API gives: 1401335892000 > PHP date() function gives: Sat, 14 Apr 2007 14:25:04 +0200 > PHP DateTime object gives: Mon, 26 Jul 46376 10:00:00 +0000 > Can someone verify that the time returned by Airavata is correct? -- This message was sent by Atlassian JIRA (v6.2#6252)