John,
Are you pulling dates from mysql? If so, let mysql do it for you.
If you don't know how, ask again.
-Original Message-
From: John Hughes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 12:33 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Counting months between two dates
I wan
if done in mysql:
SELECT
PERIOD_DIFF(DATE_FORMAT("2002-06-05","%Y%m"),(DATE_FORMAT("2001-08-27","%Y%m
") );
-Original Message-
From: John Hughes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 12:33 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Counting months between two dates
I wa
2 matches
Mail list logo