Choofa
(Choofa)
October 17, 2021, 1:35pm
#15
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.
Choofa
(Choofa)
October 17, 2021, 1:55pm
#17
Do you know how to use the clock? if not you should read this guide:
Hello everyone,
I have made a basic guide on how to use the clock component.
Here, I will explain all the blocks associated to the clock component and a few sample projects which use the clock.
1.DESIGNER PROPERTIRES OF THE CLOCK
1.1Timer Always Fires
This is a Boolean property, i.e it accepts only true or false.
If you wish the clock to run even if the application is not the active screen, i.e the user is using some other application.
Can this be set using blocks? Yes!
By default: Tru…
When you have read this I’m sure you know how to get date and time.
Then you can do this
To compare time I also found this extension:
So I Am Here With My Second Extension : TimeTools
Special Thanks To @vknow360 For This Great Idea
Special Thanks To @help_cttricks For Making Get online time component
Introduction
It Helps You With Time , The Functions Which Take So Much Blocks To Complete can be done with just a Block.It Have 10 Blocks. You Can Also Get Online Time With It
You Can Suggest Me A Good Function To Implement
Blocks
GetOnlineTime_INDIA - This block will call the Online/internet time.Time regio…
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
Hello everyone.
This is my tutorial to get time & date online using web component…
To get online date & time you required 3 component…
Web Component to get date & time
Lable to show date & time in app
Clock to refresh or get data from web in every second ( You can change Clock Interval)
[IMG_20200121_214451]
In this block i used to get data from web in every 3 second
[IMG_20200121_214504]
In this 2nd block when I got response from web in text format
In lable 1 I just set the limit f…
1 Like
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
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
Countdown Timer
Hello everyone today I am very happy to lauch my first extension.
It is countdown timer extension as known by name and it is free so without wasting any time let talk about extension
All Blocks
[image]
All Properties
[image]
Documentation
There are total 9 blocks in extension
[component_event (2)]
This event occurs when your countdown timer is finished
Endtime :- It return endtime that you have given in coundown block
[image]
This blocks raises when you got tim…
Also have a look at this web viewer timer too
Short description
Flip Countdown Extension is my first ever extension. It is made by using some JavaScript in it and working through web viewer. It is in beta version at the moment. so may not work properly sometimes.
Demo Video
Pictures of all the blocks & real demo
[11]
[12]
[13]
Instructions to use your extension
It simply work in web viewer. You just need to pass the parameters like days, hours, minutes & seconds.
Use any value as -1 (minus one) to hide itself and above valu…
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.
emilpapelas4:
help?
pls check the blocks… Unhackable timer …
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???