Hello. I am in need of a method to return the month and day of the month (as a birthday reminder for a friend...though t it'd be a nice little popup). I intend on using this as a comparison,
if ( getdate("%m") == "05" && getdate("%d") == "08" )
...birthday message code...
at least, it looked this easy from from the time.h library. Can someone please guide me as to the correct procedure?
And while I'm here, I may as well ask: what method should I use to have the program add itself to autostart on startup? Want it to be a nice birthday surprise. :)
if ( getdate("%m") == "05" && getdate("%d") == "08" )
...birthday message code...
at least, it looked this easy from from the time.h library. Can someone please guide me as to the correct procedure?
And while I'm here, I may as well ask: what method should I use to have the program add itself to autostart on startup? Want it to be a nice birthday surprise. :)
Comment