Calculation in the last second of each month
Hi everyone.
I need help from you guys.
As anyone had the need to do a math calculation in the last second of each month?
My idea is to present the client with the difference between this month energy consumption comparing to the last month.
The math is easy, my problem is with the trigger, because we have months with 29 or 30 or 31 days.
So I need to do the calculation ( Double = Thismonthcount - Previousmonthcount ) in the last second of each month.
Thanks for the help.
But if you use it as 1'st of every month then it will update the values at 29/30/31 at 00:00.
Example: Ive made a scheduler that will start the program what then will send out the meters values.
bOS calculates its time like so: time trigger 0:0 for 1 day of month means the start of the day not the end... For you it will send out the values at the end of the last day of the month. at least so far it has worked like that.