Answer the question
In order to leave comments, you need to log in
Time received via Javascript?
Faced such a problem:
This is how we get the time, but sow the day I thought that the time would be obtained from the server, and not from the client. Is it possible to pass the server time in PHP in the same format as JS does? Or I will put the question this way, is there a ready-made function for PHP to get the same time format as for JS?
JS shows this format:var now = new Date();
Fri Feb 16 2018 15:28:24 GMT+0300 (RTZ 2 (зима))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question