hi there i can compare people birthday in format YYYY-MM-DD with string (strcmp) functions. but i need compare todays date with person’s birthday to display if his/her birthday is in 7 days or not_?. i searched “time.h” library but couldn’t managed it. i appreciated if you can help.
hi there i can compare people birthday in format YYYY-MM-DD with string (strcmp) functions.
Share
I would use
difftimeon thetime_tvalues and compare against the number of seconds in a week…