I would like set the next date when click on a button
I am set data with that:
for exemplo, when the user click on the next button, the date change to next date, and when click on the back button the date change to back date.
Error
How could i do that
Hope that I have been clear
You need to mention some more details like how you are storing/generating dates. Showing what you tried so far helps others to understand it better
1 Like
Rogerio_Rios
(Professional Support)
August 18, 2020, 2:15am
#5
Try this :
1.Introduction
DateTools
As the name suggests it is specially made to work with Dates but since it uses SimpleDateFormat so you can also work with Time by using appropriate format.
Latest Version: 6.1
Last Updated: 2020-07-20T04:07:00Z (UTC)
2.Blocks
[image]
[image]
[image]
It has 22 function blocks and 1 event block
3.Documentation
It has not so much coplex blocks but some examples can help you to understand its usage.
[image]
Returns day of given date.
Note: You can also use DateT…
When button click, add days.
In instant call lb_mess_ano text
And in duration set the time period you want to jump to
And than update text of lb_mess_ano
1 Like
In instant use the native block of generating date
Also what is “ago” ? Is it “August”?
2 Likes
Yeah man, ‘ago’ is ‘August’
Is it with only August or other months to have different names?
Rogerio_Rios
(Professional Support)
August 18, 2020, 2:34am
#12
It’s an abbreviation
Ago= August
Set = September
We use the first 3 letters …
2 Likes
It is in Portuguese, automatic way on kodular for me.
Ago = Aug
Dez = Dec
Mai = May and so on
1 Like
Ok cool, give a try using the native clock block in instant parameter
Rogerio_Rios
(Professional Support)
August 18, 2020, 2:36am
#15
@Miguel_Silva , Add-months only at the end of the month.
Add days…
I am using native block to generate date for lb_mes_ano.
Give a try by using that same block as argument in the instant part
@Rogerio_Rios I would like change month by month, no day by day
1 Like
Rogerio_Rios
(Professional Support)
August 18, 2020, 2:43am
#20
call month Instant
Ago = 8 , Set = 9 , Out = 10 … + counter + if