WordPress.org

Ready to get started?Download WordPress

Forums

Post Views Count
[resolved] update data at 0:00 (15 posts)

  1. georgypoplavsky
    Member
    Posted 1 year ago #

    Hi! There is another question!
    How to make the data for the day, updated at exactly 0:00. (In Moscow GMT +4)

    http://wordpress.org/extend/plugins/baw-post-views-count/

  2. Julio Potier
    Member
    Plugin Author

    Posted 1 year ago #

    Hey
    What do you mean by "to make the data" ?

  3. georgypoplavsky
    Member
    Posted 1 year ago #

    Well to counter popular today it is zeroed records at midnight Moscow time

  4. Julio Potier
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry i donn't understand your need :/

  5. georgypoplavsky
    Member
    Posted 1 year ago #

    on this page (http://onlineconcerts.ru/ratings/) Data for the day updated about 3 o'clock in the morning Moscow time. I would like the data to the day reset at 0:00.

  6. Julio Potier
    Member
    Plugin Author

    Posted 1 year ago #

    What's your server time ?
    -> echo date( 'H:i (eP)' );

    What's your local time ?
    -> Look at your watch.

    Is there a difference ?

  7. georgypoplavsky
    Member
    Posted 1 year ago #

    no

  8. Julio Potier
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, what is the result for this date() ? I need to read between ( & )

  9. georgypoplavsky
    Member
    Posted 1 year ago #

  10. Julio Potier
    Member
    Plugin Author

    Posted 1 year ago #

    mmm so the "+4:00" is correct and your local time is "13:00"...
    Strange.

  11. georgypoplavsky
    Member
    Posted 1 year ago #

    да, но статистика посещений не обновляется ровно в 0:00

  12. georgypoplavsky
    Member
    Posted 1 year ago #

    sorry
    yes, but the visitor statistics are not updated promptly at 0:00

  13. Julio Potier
    Member
    Plugin Author

    Posted 1 year ago #

    I understand, but this is non dependant of my plugin which is based on server's time and date.

  14. georgypoplavsky
    Member
    Posted 1 year ago #

    thx, sorry!

  15. Julio Potier
    Member
    Plugin Author

    Posted 1 year ago #

    No problem, you were surprised, totally normal. Try to do some others actions from others plugin/php script/cron at 0:00 and check if this triggers +3h or not.

    "Resolved"

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.