When a user signs up on my site they have to select a date as part of resignation.
On their profile page I need to show a countdown to that date. Something simple like attached. How can I create this function?
You can use the following function to display it
For more information on date_diff function see this page.