Home AMX User Forum AMXForums Archive Threads AMX Applications and Solutions

ASTRO_CLOCK vs. TimeManager, sunrise/set

2»

Comments

  • PanemPanem Posts: 10
    Hello from Athens,

    I was wondering if the following piece of code would finally work:

    DEFINE_PROGRAM


    WAIT 10
    {
    ASTRO_CLOCK (23.769440, 37.848300, 2.0+clkmgr_is_daylightsavings_on(), DATE, sSunRise, sSunSet)
    }


    To keep in mind Athens time is GMT+2 without daylight saving time at the moment.
    There is a project that I have tried to use 2.0 or 3.0 in the third parameter of Astro_clock but when the time changes (2 times per year) the sSunrise and sSunset remain the same..
    So, would this clkmgr_is_daylightsavings_on() work properly in my case?? or I just don't need it?

    Thank you in advance
Sign In or Register to comment.