Auction Date Time Count down

Hi guys, l need your help with pointing me in the right direction. I want to implement an auction countdown date timer in ionic. I have 2 dates coming from WordPress backend dateFrom and DateTo. I need a function to reproduce an auction date timer count down.

I did try to use npm countdown-moment its not working and tried to use observable and its not updating the timer in real time.

Your assistance will be much appreciated

I use and recommend date-fns for anything involving dates and times.