I need to display Future Date in a webpage. like 24 days after today only month and day. can anyone please help me. Like
This item will deliver in :(+24 days).
e.g.
This item will deliver in: Dec 6
I like to Display Month and Day only, is it possible. Thank you.
PS. I am using WordPress and WPBakery Page Builder
2
Answers
Use this function to get it:
Just get the future date (according to
inDays
param) and then use the function to "extract" the date information for your needsAdd this into your functions.php and output with shortocde