Week Format

How can we find the Current week No as well as last week in No format?

Example : Current week = 31
So it should give output as 31

see this answer

Thanks For Reference Jack!!!

Hi @anmita

How about this expression?

System.Globalization.CultureInfo.InvariantCulture.Calendar.GetWeekOfYear(Today,System.Globalization.CalendarWeekRule.FirstDay,DayOfWeek.Monday).ToString

Regards
Gokul

1 Like

Hi, @anmita - Have a look on the below video

Thanks Gokul001 !!!

Thanks @ushu for Reference!!!

Hi @Gokul001
How can we tweak this to get last weeks no?

Thanks and Regards
@anmita

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