Custom countdown

This works, thank you. But it seems to break when I use a custom date from glide. I’m getting the current date and setting the timer to 3 minutes longer. But this seems to break because it says NaNm NaNs. But if I copy the date, and put it in manually, it works. Why is that?

Screenshot 2022-11-10 at 19.43.04

Screenshot 2022-11-10 at 19.42.20