0
我希望任何人都能幫助我。我只想在這裏顯示當前日期。但我的代碼不工作,有什麼想法?儘管提前謝謝你。 :)如何顯示當前日期
image of the problem. click this to view. it must "october 2, not 3."
這裏是我的代碼。
<div class="breadcrumbs"><?php print date('F j, Y l'); ?></div>
我希望任何人都能幫助我。我只想在這裏顯示當前日期。但我的代碼不工作,有什麼想法?儘管提前謝謝你。 :)如何顯示當前日期
image of the problem. click this to view. it must "october 2, not 3."
這裏是我的代碼。
<div class="breadcrumbs"><?php print date('F j, Y l'); ?></div>
的問題不在於你的代碼。問題可能是服務器的設置時間(區域)。 –
我認爲我在我的筆記本電腦上的時間是正確的。它是10月2日,但顯示是10月3日。:( –
'timezone_offset_get()'返回什麼? –