Article View: ba.php
Article #69Subtract one day
From: Jose Luis Rodr�guez Sevilla
Date: Thu, 18 May 2000 00:00
Date: Thu, 18 May 2000 00:00
14 lines
1056 bytes
1056 bytes
I have this variables:
$tm = time();
$mday = date('d', $tm);
$mon = date('m', $tm);
$year = date('Y', $tm);
How i can subtract one day?
For example: $tm = 18/05/2000 -> 17/05/2000
$tm = 01/01/2000 -> 31/12/0999
Thank You.
Jose Luis
Technical Details
Message-ID:
<8g0l6l$m2$1@talia.mad.ttd.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f92b,2b436362de496d64,start X-Google-Attributes: gid10f92b,public X-Google-Thread: 1148a8,2b436362de496d64,start X-Google-Attributes: gid1148a8,public X-Google-Thread: 10ce1c,2b436362de496d64,start X-Google-Attributes: gid10ce1c,public X-Google-Thread: 10b1d3,2b436362de496d64,start X-Google-Attributes: gid10b1d3,public From: "Jose Luis Rodr�guez Sevilla" <joseluis@REMOVEMEferca.com> Subject: Subtract one day Date: 2000/05/18 Message-ID: <8g0l6l$m2$1@talia.mad.ttd.net> X-Deja-AN: 624944535 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Organization: Telefonica Transmision de Datos X-MSMail-Priority: Normal Newsgroups: ba.php,de.comp.lang.php,fr.comp.infosystemes.www.auteurs.php,ufra.lists.php