【问题标题】:Full time notation NL全职符号 NL
【发布时间】:2015-01-27 06:06:28
【问题描述】:

我的代码中的时间显示为:2014-11-28 00:00:00

但我希望它显示为:Vrijdag 2014 年 11 月 28 日(荷兰语)

我只使用 php 时间码

$specialPriceToDate = Mage::getModel('catalog/product')->load($_product->getId())->getSpecialToDate();

我在magento中使用它。

【问题讨论】:

标签: php magento time


【解决方案1】:

你需要查看date()函数

date('l d F Y H:i:s); 

【讨论】:

  • @ThijsKempers 当您要求人们免费提供帮助和时间时,您可能希望避免这种评论。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2011-04-02
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2019-10-08
相关资源
最近更新 更多