Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 28030 invoked from network); 21 Jan 2010 16:00:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jan 2010 16:00:49 -0000 Received: (qmail 60275 invoked by uid 500); 21 Jan 2010 16:00:48 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 60214 invoked by uid 500); 21 Jan 2010 16:00:48 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 60203 invoked by uid 99); 21 Jan 2010 16:00:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jan 2010 16:00:48 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [205.200.79.206] (HELO gateway.newflyer.com) (205.200.79.206) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jan 2010 16:00:41 +0000 Received: from [10.22.0.57] (port=3915 helo=gateway.newflyer.com) by gateway.newflyer.com with esmtp (Exim 4.69) (envelope-from ) id 1NXzSC-0004fu-2C for user@ant.apache.org; Thu, 21 Jan 2010 10:00:16 -0600 Received: from gateway.newflyer.com ([10.22.0.26]) by gateway.newflyer.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 21 Jan 2010 10:00:15 -0600 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4073 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Subject: Timestamps and finding the difference (mm:ss) Date: Thu, 21 Jan 2010 10:00:14 -0600 Message-ID: <2DB2C93EEF05E04BBF1FBB36430B796D1D7C04F0@nfil004.newflyer.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Timestamps and finding the difference (mm:ss) Thread-Index: AcqastGLSMJ1Bb7cQLmxD+1ifo1mAg== From: "Mario Madunic" Importance: normal To: "Ant Users List" Priority: normal X-OriginalArrivalTime: 21 Jan 2010 16:00:15.0915 (UTC) FILETIME=[D273EFB0:01CA9AB2] (using ANT 1.7 on Windows XP sp3) I like to get the timestamp before a task is executed, and one when the = task is finished, and then calculate the difference to get the duration = of the task? I=E2=80=99d like to do this so I can see how long certain tasks take to = run. I see that I can create a timestamp property as follows: But can't find info (easily) on how to do some math to get the = difference in time. Any insight would be appreciated. Thanks Marijan (Mario) Madunic Publishing Specialist New Flyer Industries -------------------------------------------------------------------- Please consider the environment before printing this e-mail. CONFIDENTIALITY STATEMENT: This communication (and any and all = information or material transmitted with this communication) is = confidential, may be privileged and is intended only for the use of the = intended recipient. If you are not the intended recipient, any review, = retransmission, circulation, distribution, reproduction, conversion to = hard copy, copying or other use of this communication, information or = material is strictly prohibited and may be illegal. If you received this = communication in error or if it is forwarded to you without the express = authorization of New Flyer, please notify us immediately by telephone or = by return email and permanently delete the communication, information = and material from any computer, disk drive, diskette or other storage = device or media. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org