Jquery Reformat date from a string in a tag?
I try to extract and reorganize a date string? 2024-11-21 into 21-11-2024 Any help would be... Helpful :) Thanks I have a string in html <h2 class="tg-item-meta-data tg-element-4">2024-11-21</h2> I want to display date as 21-11-2024 I tried this to extract…