04-27-2012 04:43 AM
Hello
I am creating an application where I use a 72- hour data set, in order to find the best timeintervall to do a certain operation. However, as people tend to sleep at night, it is not very realistic to just place the operation at the time when it ideally should have been done. Therefore, I want to define a timeintervall when the operation can not be (i.e from 23.00 - 06.00).
The problem is that when I try to do this (by using timestamp controls from the numeric palett), I also need to specify a date. I don't wont it to only be valid only for a specific day, but for the whole dataset. Is there any workaround/solution to avoid this problem?
Greetings
Kristoffer
Solved! Go to Solution.
04-27-2012 05:14 AM
This is quick example. So you don't want to perform the operation between 23 hours to 6 hours (I believe). The attached example will give boolean high/true when the time is between 23 and 6 and false rest of the time. If this is not the thing you wanted then explain a bit more so that it would be easy to understand the exact scenario.
Good luck.
04-27-2012 05:40 AM
Yes, I don't want to perform the operation between 23 hours and 6 hours. I will try your example right now, looks promising!
Greetings
Kristoffer
04-29-2012 05:51 PM
i think this will be better coding....imho![]()