🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ch.comp.os.linux
Article #12034

Zeitdifferenz und PHP ausrechnen

#12034
From: Mike De Bernardis
Date: Fri, 17 Aug 2001 08:27
10 lines
1363 bytes
Hallo

Wie kann ich eine Zeitdifferenz unter PHP errechnen ?

$date2=(MySQL Abfrage)
- $date1=(date(h:m:s)
= $date3

Muss das Feld in der MySQL DB ein Timestamp sein, oder kann ich auch mit
date rechnen ?
Technical Details
Message-ID: <9likhu$ll2$1@news1.sunrise.ch>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!nntp.flash.net!news1.fra.nextra.com!nextra.com!news.nextra.ch.MISMATCH!newsfeed.nextra.ch!news.nextra.ch!news1.sunrise.ch!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII-7-bit
X-Google-Thread: f4b73,660258fbff0dad67,start
X-Google-Attributes: gidf4b73,public
X-Google-ArrivalTime: 2001-08-17 01:27:55 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!nntp.flash.net!news1.fra.nextra.com!nextra.com!news.nextra.ch.MISMATCH!newsfeed.nextra.ch!news.nextra.ch!news1.sunrise.ch!not-for-mail
From: "Mike De Bernardis" <heri_pens@hotmail.com>
Newsgroups: ch.comp.os.linux
Subject: Zeitdifferenz und PHP ausrechnen
Date: Fri, 17 Aug 2001 10:27:28 +0200
Organization: Usenet provided by sunrise communications ag
Lines: 11
Message-ID: <9likhu$ll2$1@news1.sunrise.ch>
NNTP-Posting-Host: news.swisslife.ch
Mime-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Trace: news1.sunrise.ch 998036862 22178 195.141.129.12 (17 Aug 2001 08:27:42 GMT)
X-Complaints-To: usenet@sunrise.ch
NNTP-Posting-Date: 17 Aug 2001 08:27:42 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200