get week of the year kotlinm
snippet in kotlin

get week of the year kotlinm

user4442

    val week = Calendar.getInstance(TimeZone.getTimeZone("UTC")).get(Calendar.WEEK_OF_YEAR)