A day of the week. Used for questions related to programming problems that involve `weekday`: calculation, triggering an event, discovery of a specific day etc
Questions tagged [weekday]
462 questions
0
votes
1 answer
Weekend extraction in Matlab
i have a matrix "timeVectorDaily" that is 364 x 5 in size. This matrix has data in form of decimal days.
Eg
734870 734870.2 734870.4 734870.6 734870.8
734871 734871.2 734871.4 734871.6 734871.8
so on
I need to extract only the weekend rows from…

user3698120
- 61
- 5
0
votes
1 answer
Python/Pandas: Speedup calculation of weekday of datetime-data
I'm loading data in pandas, whereas the column date contains the datetime values, e.g.:
date ; .....more stuff ......
2000-01-03 ;
2000-01-04 ;
2000-01-06 ;
...
2000-01-31 ;
2000-02-01 ;
2000-02-02 ;
2000-02-04 ;
I have a function to add a…

tim
- 9,896
- 20
- 81
- 137
0
votes
2 answers
Getting Date of Monday of each week
I want to get the date of Monday for each week. I am using that date to open a folder that is created every Monday and is named based on the date. I tried using weekday() function. But I am not sure how to proceed. Thanks for the help! This is what…

Ashonna
- 47
- 7
0
votes
1 answer
binding weekday initial on basis of weekday number in c#
Hi I have database where i am saving the weekdays as numbers (such as Sunday as 1 Monday as 2 and so on). I am binding this info to a grid view. What i want to do is when displaying weekdays in the grid view i want instead of 1234567 it should…

CrazySwazy
- 403
- 1
- 5
- 11
0
votes
0 answers
Print out day of week given any date
The prompt is:
Implement a function that reads in a string containing a textual description of a calendar date and that prints out the corresponding day of the week (Monday–Sunday). The two valid input formats for this function are:
mm/dd/yyyy…

user3436065
- 15
- 1
- 3
- 7
0
votes
1 answer
How to display weekdate in single TextView in android?
How to display weekdate in single textview.
I have a following code as below. which show week date as a string in logcat.
Calendar c = Calendar.getInstance();
// Set the calendar to tuesday of the current week
…

user3283148
- 101
- 4
- 13
0
votes
1 answer
Business days between two dates in objective-c?
I looked all over and did not find a function that gives the number of business days between two dates.
How would I do that?
Of course it would not count the holidays, since each country has his own, but that I could do with some specific functions…

brbgyn
- 411
- 1
- 3
- 12
0
votes
2 answers
JavaScript / jQuery: get numeric weekday value of date string
I have a field with a date value that is always formatted as YYYY-MM-DD.
How can I get the weekday value of this field value.
Example: If the date in the field is a Monday the result should be 1, if it's Tuesday it should be 2 and so on.
I tried…

user2571510
- 11,167
- 39
- 92
- 138
0
votes
2 answers
Filter Count Monday to Friday in Django View
What I am trying to do is to get a filter from Monday to Friday and then count the objects based on the filter. This is what I have so far:
def closed_by_count(request, template = 'count_closed_user.html'):
date = datetime.now()
week_1 =…

Infinixd
- 141
- 15
0
votes
1 answer
SQL insert dayofweek information in each day column without null
This is my [Resource table] I am getting my data:
Start Date Time From Time To Time From To Training Room
2011-05-24 00:00:00.000 8:00 23:00 8:00 - 23:00 Room1
2011-05-25 00:00:00.000 1:00 23:00 1:00 -…

AceAlfred
- 1,111
- 3
- 21
- 35
0
votes
2 answers
Dynamic content depending on weekday
I need some sort of script to display diffrent content depending on the day of the week, mainly images. This is what I've tried