Daily free task

I don’t see anything else than the blocks provided earlier from @Saezy.

I told you to check mentioned extension, you told me you downloaded and had set up blocks, I asked for the blocks, but you provide only blocks given by Saezy.

You should add date/time to a db(database) or in a file in a directory.
When app opens it will check(compare) if time atm is ex 24h later then stored time in db or file in directory.
If time is more then 24h later you make button active, and gives reward or whatever on click. When reward is given you disable button and store new date and time into database/file in directory.

Have the extension but dont know how to use this and also dont know how to build with them.

Do you know how to use the clock? if not you should read this guide:

When you have read this :point_up: I’m sure you know how to get date and time.
Then you can do this :point_down:

To compare time I also found this extension:

Ok i will look tomorrow at this

Use web component to call for todays date. If today’s date is not equal to tindydb saved date, then add points. Also save the today’s date in tinydb

1 Like

ok i will try tomorrow.

Only that i want is to get 24h that work every time once user claimed the reward , once claimed time start again from 24h

Get online date and time also tinydb stored time. Convert into milliseconds. If the difference is more than
86400000, use add point system

Someting like here
Screenshot_1
Screenshot_2

can u show me some examples?

That’s it. Once points added, repeat the procedure of what I suggested for every seconds. That is minus the stored date and time in milliseconds - 86400000

just done this


and get
Monday, 18 Oct 2021 09:05 PM

Convert this value into milliseconds using click component

Better you can use this timer exten

Also have a look at this web viewer timer too

1 Like

can u show some example i dont know how to convert.


Just tryed this but get error
Argument to MakeInstant should have form MM/dd/YYYY hh:mm:ss, or MM/dd/YYYY or hh:mm
Note: You will not see another error reported for 5 seconds.

can u help?

pls check the blocks… Unhackable timer:upside_down_face:
Button will be enabled after 24 hr from the click only. It wont reset even at 12:00AM. I have used with Date tool extension by @vknow360

pls try and let me know.

Good i will add this today later and test until them can i know if this show also time until daily become available again to claim?

That claim button i designed to function once in 24hr. If you want to reclaim before the timer then slightly you need to adjust the code

Demo

For testing i have tried ydy in companion. Now i am tested again, see i am unable to click and timer shows the remaining hours

Got it???