Topic: Find record with Birthday with (datenow)

Hello MVD!

How to find a record having a birthday to the current date using SQLExecute?

pls help!

manixs

Re: Find record with Birthday with (datenow)

Hello WIZARDS!

How to find a record having a birthday to the current date using SQLExecute?

pls help! pls help!

manixs

Re: Find record with Birthday with (datenow)

Hello.


Check it:

SQLExecute( 'SELECT lastname FROM tablename WHERE strftime(''%d-%m'', birthdate) = strftime(''%d-%m'', ''now'')' );
Dmitry.

Re: Find record with Birthday with (datenow)

YES AGAIN. THANKS A LOT!