Enable button until the start time

ı have a button

<button ion-button shape="round" color="color2">Join</button>

[{“id”:1, “start_time”:2019-09-22 17:13:02}] my json api like this and ı want to enable button when is start_time is start.

date-fns has mostly everything you need to do this cleanly, except for one thing: Ionic applications are fundamentally reactive - they wait for users to do something, respond, and then wait for the next user action. In this case, you need to manually trigger an activity that will result in that check happening in a timely manner without wasting too much CPU time. The first thing I would try is the RxJS timer operator.

ı am new on Ionic so i didnt get you .Can you give more explaining or sample code