WordPress.org

Forums

How to determine wordpress installation date (5 posts)

  1. Jeff Starr
    Member
    Posted 8 years ago #

    I am preparing a theme for release and need a way to determine the date on which the user's blog was created.

    Like maybe scouring the database for the earliest post date?

    Any ideas, suggestions, and/or clues will be most appreciated!

  2. koeln
    Member
    Posted 8 years ago #

    get the main-dir creation date?

  3. Jeff Starr
    Member
    Posted 8 years ago #

    Sounds good, but I have never done that one before. Is there an easy way to get the "main-dir creation date" via PHP?

  4. koeln
    Member
    Posted 8 years ago #

    I never did it either. But I think
    filemtime($dir)
    should do it

  5. Jeff Starr
    Member
    Posted 8 years ago #

    Thank you. I will check it out!

Topic Closed

This topic has been closed to new replies.

About this Topic