X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 9ACA1476372 for ; Thu, 1 May 2003 07:35:44 -0400 (EDT) Received: from relay.nic.in (relay.nic.in [164.100.10.106]) by postgresql.org (Postfix) with ESMTP id 3A97D476361 for ; Thu, 1 May 2003 07:35:41 -0400 (EDT) Received: from relay.nic.in (localhost [127.0.0.1]) by relay.nic.in (8.12.9/8.12.5) with ESMTP id h41BdO2N029865 for ; Thu, 1 May 2003 17:09:24 +0530 Received: from banas.guj.nic.in (banas.guj.nic.in [164.100.245.211]) by relay.nic.in (8.12.9/8.12.5) with ESMTP id h41BdFHA029785 for ; Thu, 1 May 2003 17:09:19 +0530 Received: from BANAS/SpoolDir by banas.guj.nic.in (Mercury 1.44); 1 May 03 17:00:28 +05:30 Received: from SpoolDir by BANAS (Mercury 1.44); 1 May 03 17:00:13 +05:30 From: "Ramesh PAtel " Organization: Banas Dairy, Palanpur To: pgsql-admin@postgresql.org Date: Thu, 1 May 2003 17:00:05 +0530 MIME-Version: 1.0 Subject: DAte use in For loop Message-ID: <3EB152E3.4904.1668B35@localhost> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Spam-Status: No, hits=-5.1 required=5.0 tests=BAYES_00,RCVD_IN_ORBS,RCVD_IN_RFCI version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/6 X-Sequence-Number: 8568 Hi All please give one help I want to us date variable in for loop Condition. in PHP But it not working Properly. $dt='2003-04-22' ; $to='2003-04-30'; FOR ( $dt=$dt; $dt > $to ; ) { print "XYz"; } Please Help me and how to file date diff in Day please Help Ramesh Patel