Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

Dates

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Dates

Postby liquedus » 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?
liquedus
php-forum Active User
php-forum Active User
 
Posts: 266
Joined: Tue Apr 08, 2003 5:18 am
Location: Ottawa, Canada

Postby Romantik » Tue Apr 08, 2003 9:54 pm

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


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron