Skip to content
Yang's Tech Notes
  • Home
  • Home
  • Tech
  • Ensure the date display correctly in php
Posted inTech

Ensure the date display correctly in php

Posted by By admin June 29, 2015

$expectedDate = strtotime($assignList[‘ExpectedDate’]);

$displayExpectedDate = date("F Y", $expectedDate);

 
 

 
 

Ensure that the strtotime() function is being used. Or unexpected result may happen.

admin
View All Posts

Post navigation

Previous Post
How to delete mysql table contents with fk constrains
Next Post
Justhost error solved
Copyright 2025 — Yang's Tech Notes. All rights reserved.
Scroll to Top