Week number of date

How can i get a Week No. of the particular date.

Hi @KIRANA_KUMARA_A Welcome to Kodular Community
Currently there is no method to get week number from date but you can find week day from date.

use the clock component and its FormatDate block together with the pattern w
for a list of available patterns see here SimpleDateFormat (Java Platform SE 7 )

Taifun

2 Likes

Thank You, Taifun

I need to create a list of time with interval of a minute with start time selected from the time picker.
like for eg:
10:20
10:40
11:00
11:20
for defined no.
How can i do that…

Use clock.

1 Like

How to use the blocks
Plz help me …

First show what you have tried.

Are you sure that for each number loop will work with instant?
Try this one:

In above case if I start from 10:20 and interval is 5 minutes then it will give you:
10:25
10:30
10:35
10:40
But remember that it returns millis so you will have to format that.

2 Likes

Its Worked fine
Thank you

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.