alt text

How to make such a line with arrows, where there will be dates by weeks from this array? And when choosing this week, these days were taken out. The arrows moved to the next and previous week.

    1 answer 1

    In my opinion, dates should be used in the unix-timestamp format. Weeks are very simple to count: 7 x 24 x 60 x 60 (7 days x 24 hours x 60 minutes x 60 seconds) = 604,800 seconds. This is your week.

    Transfer the data and answer on the shoulders of ajax. If it is very necessary, then I can share my implementation.

    • Kemerov4anin, Yes, you need, if it's not difficult to share. - trane294
    • your mail - kemerov4anin