Hiya Everyone,
I have a small problem,I am a java programmer working for a small 
company,
We have just been given project to build a  greetings program for 
a website,thats no problem but one of the parameters is an option 
to send the greeting at a later date,not today.

I have kinda worked out the logic in my head but I need to query 
the database for the system date and get a reply something like this 
1 or 01 for the first and 2 or 02 for the second and so on....and 
also for months(for january) 01 or 1 (for Feb) 02 or 2 and so on.


The logic,
I'm using a thread that will sleep for 23 hours and check the system/current 
date,month and then query the database for people who want to send 
their greetings on the same date,month and then connect to the smtp 
server etc...any ideas?


ALL reply's are welcome,good or bad,abuses or hugs!
:-)
Cheers,
-Ryan
P.S I would really appreciate it if you could send your answers to 
[EMAIL PROTECTED] and the MySql list.
Thanx


in leaving let me give you something to cheer you up,


A couple bought themselves a squirrel pet.
Once they went and locked it up  in the closet.
In the night a thief penetrated into their house,
 but having heard the owners' car coming in, he hid in the closet.
They came, undressed and went to bed.
But in the middle of the night they were waked up by a scream.
The husband opened the closet to see the man squirming on the floor.
He picked up on the picture, bound him tightly and asked what made 
him holler so shrill.
"When your screwy squirrel took my ass for a hollow - I held out,
when it took my  testes for nuts - I gritted my teeth, but when it 
decided to carry the nuts into the hollow i cracked up."







---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to