Top "Week-number" questions

Based on Gregorain calendar, every week of a year has a number from 1 to 52, 53 or 54.

Calendar.getActualMaximum(Calendar.WEEK_OF_YEAR) weirdness

Either I don't understand the method getActualMaximum(int) or the field WEEK_OF_YEAR, or there's a Sun bug involved (…

java calendar week-number
Function Getting the right week number of year

I want to create a function to get the right week number of year. I already posted here to find …

postgresql postgresql-9.2 week-number
PHP date('W') vs MySQL YEARWEEK(now())

Can someone kindly explain me why these two give different results? I execute this with PHP. date("YW",mktime(0, 0, 0, 3, 22 , 2013)); // outputs 201312 …

php mysql date week-number
convert week datepart number to date within week (week of...)

I am trying to figure out how to convert a datepart for a week to the Monday of that week. …

sql tsql sql-server-2005 week-number datepart
Group dates by week in R

I wish to label my data based on their week. This is my data: df2 <- structure(list(Order_…

r date-arithmetic week-number
How to get week number and year from date in R

I am trying to get both week number and year from a date object in R. Until then, I did …

r date lubridate iso8601 week-number
System.Globalization.Calendar.GetWeekOfYear() returns odd results

I'm in the middle of calculating week numbers for dates, but the System.Globalization.Calendar is returning odd results for (…

c# .net calendar week-number
jQuery: week of year script acting up

A while ago I needed a script to update some content every week, and my question was answered in this …

jquery week-number
Group by Week of year (Week number) in Linq to SQL

In regular SQL i could do something like SELECT * From T GROUP BY DATEPART(wk, T.Date) How can i …

c# sql-server vb.net linq-to-sql week-number
jQuery UI datepicker not showing week numbers

My jquery UI datepicker is not showing week numbers, even with the showWeek:true option set. Here is my code: &…

jquery-ui datetime datepicker week-number