php date > date
php date > date
- Started
- Last post
- 2 Responses
- ldww
whats the best way to find out of a date "YYYY-MM-DD" is after the current date?
i was trying to use date("U"); in the php page and TO_DAYS(expire) in the sql query. but the current seconds since epoch is wayyy longer then the other (i am guessing cause it accounts the actual time of day, not just date)
- JamesEngage0
can;'t you put the numbers together eg.... 20040923 and then the bigger number is the latest date
- unfittoprint0
u could use mkdate and compare it with the date value.