Python Forum
Running an action only if time condition is met
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Running an action only if time condition is met
#5
Or you could calculate.

If you want to implment the algorithm:
https://math.stackexchange.com/questions...nset-times
gml.noaa.gov/grad/solcalc/solareqns.PDF

Or let someone else do the work:
https://pypi.org/project/suntime/
alexbca likes this post
Reply


Messages In This Thread
RE: Running an action only if time condition is met - by deanhystad - Oct-21-2022, 07:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pixel color and action Sartre 4 2,200 Apr-13-2023, 03:26 AM
Last Post: Sartre
Question Running an action only between certain times alexbca 9 1,823 Mar-15-2023, 04:21 PM
Last Post: deanhystad
  Checkbox itens with a button to run action Woogmoog 3 1,001 Dec-19-2022, 11:54 AM
Last Post: Woogmoog
  If condition not met but still running CreeperBob16 4 2,020 Aug-28-2021, 08:49 PM
Last Post: snippsat
  Assistance with running a few lines of code at an EXACT time nethatar 5 3,371 Feb-24-2021, 10:43 PM
Last Post: nilamo
  else condition not called when if condition is false Sandz1286 10 6,032 Jun-05-2020, 05:01 PM
Last Post: ebolisa
  [HELP] Nested conditional? double condition followed by another condition. penahuse 25 8,289 Jun-01-2020, 06:00 PM
Last Post: penahuse
  running 2 loops at the same time julio2000 7 4,690 Mar-21-2020, 05:21 PM
Last Post: ndc85430
  Running multiple script at the same time LoganSulpizio 1 7,132 Dec-07-2019, 04:30 PM
Last Post: Clunk_Head
  Error when running the second time metro17 3 3,814 Aug-30-2019, 12:09 PM
Last Post: ThomasL

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020