Home > Backend Development > PHP Tutorial > A simple question, how to convert the timestamp to Y in this case?

A simple question, how to convert the timestamp to Y in this case?

WBOY
Release: 2016-10-18 08:41:59
Original
1011 people have browsed it

A simple question, how to convert the timestamp to Y in this case?

The above is the output timestamp in AJAX. I don’t know how to do it, so I tried to convert it in PHP

A simple question, how to convert the timestamp to Y in this case?

A simple question, how to convert the timestamp to Y in this case?

But why can’t I rotate like this in the model or C? When output, this array becomes this field, and other fields are lost

I found out from the answer of an expert above that you can use the mysql statement to convert the addtime into time format in the linked list. But in TP, if you add that kind of conversion statement after the field field, will an error be reported? Does anyone know how to write without getting an error?

I know I am a bit mentally retarded with this question, so I humbly seek advice from an expert, thank you

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template