How to get the date of week in current month?
Example this month is September, so the output will be 2,9,16,23,30
var calendar = Calendar.getInstance()
var dayOfWeek = calendar.get(Calendar.DAY_OF_WEEK)
I only able to get 2.
How to get the date of week in current month?
Example this month is September, so the output will be 2,9,16,23,30
var calendar = Calendar.getInstance()
var dayOfWeek = calendar.get(Calendar.DAY_OF_WEEK)
I only able to get 2.
You can use the following code for that: