*

Recent

Author Topic: Page entry date  (Read 2996 times)

Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
Page entry date
« on: February 24, 2012, 12:10:04 PM »
In page.php entrydate is pulled from the database and then is formated into a date. In new page in the admin section, when the date is added into the database it is already formatted so when it tries to formate it a second time php throws errors and the date is incorrect. It doesnt seem to display the date anywhere on the page but to fix this, just remove this line of code and use $entrydate if you want to display it

Code: [Select]

$displaydate = date('d-m-Y', $entrydate);