hi, i have searched for a similar topic but i didn’t get any solution.
what I want is when the clock shows 19:35 it will automatically get index 2, when the clock shows 20:56 it will get index 3, and so on.
so that it still gets the index even though the time does not match the value in the list.
Rogerio_Rios
(Professional Support)
December 10, 2020, 10:48am
#2
Maybe that …
Did you try to compare if the time is greater than 19:24 and less or equal than 20:30 … index = 2?
If > 20:30 And <= 21:25 index = 3
If > 21:25 And <= 22:17 index = 4…
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 region …
1 Like
thank you
is it possible if I manage the list on a custom basis every day?
hi @ibnudjamil33
I’ve solved your problem, this way.
design
blocks
aia = Index_time.aia (6.1 KB)
hope this helps you mas broh
3 Likes
Tengkyu mas broh
I want to custom set the length of the list, sometimes the list length is 50, sometimes 20, it changes every day.
whether your block will solve this problem.
The list length in the question is only 5, but that’s just an example.
is it possible to dynamically create blocks.???
I think it’s possible. add times to the list and change the procedure. I’m sure you will get the index
Boban
(Boban Stojmenovic)
December 11, 2020, 11:58am
#8
What do you want to do if clock is 23:31
use index 1
nothing
1 Like
Boban
(Boban Stojmenovic)
December 11, 2020, 12:29pm
#10
4 Likes
thank you @sugarlesscreator and @Boban
your answers have helped my project 80%
nice to be here.
I will develop, to get 100%
1 Like
Another workaround is to convert them to milliseconds and compare them using math blocks and loops.
3 Likes
system
(system)
Closed
January 10, 2021, 6:13pm
#13
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.