Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
datum checken auf verfall prüfen
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Martin Mollay  
View profile   Translate to Translated (View Original)
 More options Aug 19 2004, 2:41 pm
Newsgroups: de.comp.lang.php.misc
From: "Martin Mollay" <mar...@ssi.at>
Date: Thu, 19 Aug 2004 20:41:02 +0200
Local: Thurs, Aug 19 2004 2:41 pm
Subject: datum checken auf verfall prüfen
Hi,

meine Frage:
wie kann ich prüfen ob ein datum bereits vergangen ist so auf die Art:

if ($datum_aktuell <= $datum_soundso)
echo "alt";

Danke für die Hilfe

Martin°^°


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christoph Becker  
View profile   Translate to Translated (View Original)
 More options Aug 19 2004, 3:24 pm
Newsgroups: de.comp.lang.php.misc
From: Christoph Becker <christoph.bec...@uni-rostock.de>
Date: Thu, 19 Aug 2004 21:24:16 +0200
Local: Thurs, Aug 19 2004 3:24 pm
Subject: Re: datum checken auf verfall prüfen
Martin Mollay schrieb:
> Hi,

> meine Frage:
> wie kann ich prüfen ob ein datum bereits vergangen ist so auf die Art:

> if ($datum_aktuell <= $datum_soundso)
> echo "alt";

wenn $datum_aktuell und $datum_soundso in einen timestamp (unix oder
sql) umgeformt sind, geht es bereits...

Wenn $datum_aktuell = "17.08.2004" wäre, dann kann man folgendes machen:
$d = &$datum_aktuell;
$d = substr($d,5,4).substr($d,3,2).substr($d, 0,2);
// ergibt dann "20040817", ließe sich also leichter mit <> benutzen ..

Reichen die Hinweise?

Chr.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martin Mollay  
View profile   Translate to Translated (View Original)
 More options Aug 19 2004, 4:15 pm
Newsgroups: de.comp.lang.php.misc
From: "Martin Mollay" <mar...@ssi.at>
Date: Thu, 19 Aug 2004 22:15:02 +0200
Local: Thurs, Aug 19 2004 4:15 pm
Subject: Re: datum checken auf verfall prüfen
danke perfekt!!!

lg. mm°^°
"Christoph Becker" <christoph.bec...@uni-rostock.de> schrieb im Newsbeitrag
news:2okd3kFbishkU1@uni-berlin.de...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »