WordPress.org

Ready to get started?Download WordPress

Forums

edit time_post to adjust to -5 UTC (1 post)

  1. gunnersslash
    Member
    Posted 2 years ago #

    Hello

    i'm using a phpbb plugin to retrieve recent topics posts but it promts a diferent UTC timezone from used in both phpbb3 and wp ,

    the script uses this code

    $ppost_time = $row["post_time"];
    $fmt_date = date($returnvar_a['date_format'],$ppost_time);

    and prompts

    $output_line = ' ยป ' . "<a href=" . '"' . $url . '"' . '>' . $pst . '</a>' . ' Por ' . " <font color=#C00> " . $puser_name . ' </font> ' . ' on ' . $fmt_date . '<br>';

    i've been searching and now i know that post_time is a number value like 234523523 , is there possible to make some parameters and show that time in -5 UTC timezone?.. right now someone post and plugin date is 0 UTC

Topic Closed

This topic has been closed to new replies.

About this Topic