Hello,
I have 2 date string like this
$t1 = "2001-11-12 17:30:10";
$t2 = "2001-11-12 17:15:32";
I need to substracts the number of seconds from $t2 from $t1
(because after I have another script thats converts the number of seconds to
minutes, hours or days if necessary)
I tried: (but it does n
> I have 2 date string like this
>
> $t1 = "2001-11-12 17:30:10";
> $t2 = "2001-11-12 17:15:32";
>
> I need to substracts the number of seconds from $t2 from $t1
First, convert them to unix time format:
So:
(apologies for stuff that doesn't work, I've coded this in
the email and not teste
te1[0] );
Martin T
-Original Message-
From: py [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 2:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] date conversion and calculation problem...
Hello,
I have 2 date string like this
$t1 = "2001-11-12 17:30:10";
$t2 = "2001
3 matches
Mail list logo