我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

在php [copy]中获取当前月份的全文

This question already has an answer here:

  • Convert one date format into another in PHP 15 answers

I want to echo the current month in full text. eg : june;

      echo date('M');

// result jun.

but i want to display full month. how can i do that.

</div>

You can use date with F (have a look at the docs).

So date("F") will output June.

近期文章

  • 检查变量是否是PHP中的整数[重复]
  • php服务按降序排序
  • too long
  • 通过单击一页内的特定链接显示不同的Html表单
  • too long
  • 显示符号μ[复制]
  • x登录尝试失败后
  • 如何将mysql函数转换为现代PDO
  • too long
  • 从mysql数据库获取时间戳并获取php以天,小时,分钟计算时间? [重复]
  • too long
  • 创建SOAP客户端
  • 在php中循环包含文件
  • too long
  • PHP SESSIONS,COOKIES和Remember Me功能
  • too long
  • 用php(或python)删除<li>标签之间的html换行符
  • too long
  • too long
  • 如何在PHP中将日期转换为字符串日期? [重复]

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华