Forums
Home / Fixing WordPress / Add Today’s Date Html
(@ox173)
3 years, 10 months ago
Is there a way to add todays date in html? Is certain code needed in the functions file to reference from? Thanks
(@yasu88)
Hello @ox173
Not sure what do you mean, but you may try to use the following:
<p> <script> document.write(new Date().toLocaleDateString()); </script> </p>
I hope that’s what you’re looking for.
Thanks for the quick reply and help. Im using this cart to pdf plugin. I wonder if it is acting seperate from everything.