Dates

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
liquedus
php-forum Active User
php-forum Active User
Posts: 264
Joined: Tue Apr 08, 2003 5:18 am
Location: Ottawa, Canada
Contact:

Tue Apr 08, 2003 11:23 am

I would like to compare dates in the form of MM/DD/YYYY.

for this can i use just a simple if statement such as:

if($aYear < $bYear) .....

or is there a function that can handle this, or should i tokenize the bitch and do it myself?

Romantik
New php-forum User
New php-forum User
Posts: 67
Joined: Mon Feb 24, 2003 2:55 am
Location: ../Ukraine/Kherson
Contact:

Tue Apr 08, 2003 9:54 pm

mktime()
PHP+MySql= Love :)

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests