How to implement coundown timer in app

hi all
im making lotery app and need to show customers coundown time remaining for draw in main home screen of user when they login
it will be automatic start every hour
how to do in appgyver

What have you tried so far?

Easiest is to work with timestamp, the maths is easier. Then just convert to display.