I\'m trying to add the current time to a website using JS and I found a working solution but the problem is that it works for 24-hour format time and I\'m struggling to figu