Has anyone worked with trying to calculate the next event time at all? I can get the number of hours since the lstart time, but I need to do a mode division on that number of hours send then figure out the next event based on how many hours it’s been.
Basically, I have a starting time (20180201T000000 UTC) and I have an ever to that occurs every 15 hours. I only care about knowing the time of the NEXT event.
So, I get current date, calculate number of hours from start date to current date, and then I ewant to do modules division by 15. There’s nothing in calculate, but there is “mode” in Calcualte statistics, but no fields to fill in, and I can’t find documentation.
I also tried to figure out how to feed the hours into pClac, but I can’t get the mod operation to “donate” to Shortcuts., despite doing it a whole bunch of times.
I mean, I could do a repeat loop, but that is really ugly just to manually do a mod operation.
NB: I do not need all events, I do not need a calendar entry, I just need to know what time (local time, where ever local is) until the next event. Als, I may want to change the number of hours, so nothing that relies on a specific trick related to 15 hours. It should work with 7, 13, or 19. Or even 31.)
Searching the engines for help with shortcuts is nigh-impossible, btw. #ThanksApple for not picking an actual name.