Sorry forgot to upload the code.
The following is the one i have changed in order the date to change when the time is > 23
Code:
day_added = 0
hh = hh + 3
if hh > 23 then
day_added = 1
endif
hh = hh//24
if day_added = 1 then
day = day + 1
if day > num_date then ; i havent done anything to this up to now. I need to figure out how to tell the programm about the num_date (No of the day today in this month)
day = 1
if month > 12 then
month = 1
year = year +1
endif
endif
endif
regarding this
Code:
if day > num_date then ; i havent done anything to this up to now. I need to figure out how to tell the programm about the num_date (No of the day today in this month)
i think that i need to create a table with 12 months and specify which has 30, 31, or which year then has Feb 28 or 29
Bookmarks