30 days validity countdown timer

Can anyone please help me to create a 30 days validity countdown timer. I searched in community but could not find relevent answer.

I want to create something like mobile recharge validity period.

Why not? Plenty of suggestion are there

  1. When button click get current date and time in millisec and save add 86400000*30 then save the value in tinydb.

  2. When ever screen initi, get current day and time in millis and find the difference in millis. And show this millis as remaining DD,hh:mm:ss using extension

2 Likes

Can u please share the blocks as i am still new here

test this
timerRecharge(1).aia (14.1 KB)

make sure user is not changing the system date and time… If so you need to get date nd time from online

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.