Theres a variable which ccontains the value “7th May 2020” being passed into the page. On this page theres a lot of javascript which does some date calculations in jquery. But my date calculations are expecting a date in dd/mm/yyyy format.
A bt messy I know - having php and jquery - hence why I posted in both php and jquiry forums. I suppose if I used jquery it would perhaps make it a little neater. But Id be happy with either.