Announcement

Collapse
No announcement yet.

Birthdat Format does not work

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Birthdat Format does not work

    I have the Admin cp birthdat format set to jS F Y, but on the forum in profile all dates come up as 1st January 1970...

    Any ideas???

  • #2
    If all of the dates come up as Jan 1, 1970 open up your member.php file.

    Find the line:
    $birthday = @date($calformat1,mktime(0,0,0,$bday[1],$bday[2],$bday[0]));

    Change it to:
    $birthday = @date($calformat2,mktime(0,0,0,$bday[1],$bday[2])). ", $bday[0]";

    This usually happens when your server doesn't support negative timestamps (times before Jan 1, 1970)

    Comment


    • #3
      Excellent, spot on.

      worked a treat, Thanks

      Comment

      Related Topics

      Collapse

      Working...
      X