• Cory.Nickerson

    (@corynickerson)


    Hello,

    I’m new to developing plugins for Word Press. I’m currently working on my first plugin for a client and I was having some trouble figuring out how to format time stamps based on the system settings for Word Press.

    Below is an example of one of the lines from a foreach loop to be used in the admin area so the admin can view the time a form was submitted. When the form is submitted it simply stores a timestamp. What I need to do is just format that time stamp based on the format the admin has supplied in the settings for Word Press.

    echo "<td>" . $result->date . "</td>;
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Formating Timestamps’ is closed to new replies.