Top "Dayofweek" questions

Usually a function that returns day of the week when a certain date object is passed.

C# Cultures: Localize DayOfWeek?

How do I localize a DayOfWeek other than today? The following works just fine for the current day: DateTime.Now.…

c# culture dayofweek
Getting the Date and numeric weekday in PHP

i'm developing an application in PHP and I need to use dates and the numeric representation of weekdays. I've tried …

php date datetime dayofweek weekday
get nth weekday of month in C#

Possible Duplicate: How do I determine if a given date is Nth weekday of the month? How do i get …

c# date dayofweek
How can I get the 4 Mondays of a month with js?

I'm building a chart where the x-axis should be the four weeks of a month. I would like to display …

javascript date dayofweek
Javascript OR operator not working in if statement

I'm trying to get this Javascript to do something if the day of the week matches any of the days …

javascript if-statement time operators dayofweek
Determining day of the week using Zeller's Congruence

I tried writing the code for finding the day of the week for a given date using Zeller's Congruence but …

c date dayofweek
Looping through the days of the week inside of C# TimeSpan Class

I'm trying to loop through EACH DAYof the WEEK between 2 time periods DateTime start = new DateTime(2010, 1, 1); DateTime end = new DateTime(2011, 12, 12); …

c# datetime loops timespan dayofweek
Equivalent of WeekDay Function of VB6 in C#

In VB6 code, I have the following: dim I as Long I = Weekday(Now, vbFriday) I want the equivalent in …

c# datetime vb6 dayofweek weekday
Java day of the week from string

I have this simple code: SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd"); Date date = format.parse("2011-10-29"); calendar.setTime(date); Log.…

java date calendar simpledateformat dayofweek
How to find nearest day of week in php?

How to find a speciefic nearest day of the week in PHP if initially I have a date string like: 07.05.2010? …

php date dayofweek weekday