hi.

i want to check expire date with mysql query between start date and enddate.

if the end date is bigger then today's date then its good else it didnt display records.


can any one please help me out.


Thanks in advance. :)

Recommended Answers

Don't think this question is for javascript??? Or you are talking about attempting to do the comparison of dates obtained by mysql on a HTML page?

Jump to Post

All 5 Replies

if any one know plase help me out.

Thanks.

How about using this condition ?
(EnDate<now())

This is what use myself and it works fine.

Don't think this question is for javascript??? Or you are talking about attempting to do the comparison of dates obtained by mysql on a HTML page?

select * from table name where account_expiry < now();
try this it is working fine.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.