datetime:旋律日期时间扩展类

时间:2021-05-22 10:13:48
【文件属性】:
文件名称:datetime:旋律日期时间扩展类
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-22 10:13:48
PHP 旋律日期时间 安装 建议的安装Melody DateTime的方法是 。 只需创建一个composer.json文件并运行php composer.phar install命令即可安装它: { " require " : { " project-melody/datetime " : " dev-master " } } 介绍 导入DateTime命名空间: use Melody \ DateTime \ DateTime ; 基本用法 在日期中添加工作日 // Sets the datetime, will consider the 'now' date // for example: 2013-12-01 00:00:00 $ datetime = new DateTime ();
【文件预览】:
datetime-master
----src()
--------Melody()
----phpunit.xml.dist(806B)
----.travis.yml(187B)
----README.md(2KB)
----tests()
--------src()
--------bootstrap.php(137B)
----.gitignore(100B)
----composer.json(480B)

网友评论