Well, so your problem is time not showing correctly? You are pulling the date_time from JS.
This means inside the user’s browser. Not sure if this is the best way to do it. A user can disable
JS from security reasons and then it would not be correctly displayed. You do not need any .js file
Is there a reason you don’t just use PHP and display the time from the server? In PHP you can show the time using something like this: echo date(“Y-m-d H:i:s”); Well, this is U.S. format, but, easy to alter!
Not sure if that helps, but, hope it does!