将big int转换为日期 [英] Convert big int to date

查看:105
本文介绍了将big int转换为日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



如何将此bigint转换为约会。



Hello,

How would I convert this bigint to a date.

`note_creation_timestamp` bigint(20) DEFAULT NULL COMMENT 'timestamp of the creation of user''s note',







<small>Added: <?= $value->note_creation_timestamp; ?></small>





我希望它看起来像这种格式



已添加:2017年1月11日



我尝试过:



不知道怎么做。这就是我在这里问的原因。



I want it to look like this format

Added: Jan 11, 2017

What I have tried:

Not sure how to do it. which is why I'm asking here.

推荐答案

value-> note_creation_timestamp; ?>< / small>
value->note_creation_timestamp; ?></small>





我希望它看起来像这种格式



已添加:2017年1月11日



我尝试过:



不知道怎么做。这就是我在这里问的原因。



I want it to look like this format

Added: Jan 11, 2017

What I have tried:

Not sure how to do it. which is why I'm asking here.


已添加:
<?= date("M d, Y",


value-> note_creation_timestamp); ?>
value-> note_creation_timestamp); ?>


这篇关于将big int转换为日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆