|
Given a week number, e.g. date -u +%W , how do you calculate the days in that week starting from Monday?
Example rfc-3339 output for week 40:
2008-10-06 2008-10-07 2008-10-08 2008-10-09 2008-10-10 2008-10-11 2008-10-12
Started by hendry on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
It includes example code in 'C'
PHP
$week_number = 40; $year = 2008; for($day=1; $day<=7; $day++) { echo date('m/d/Y', strtotime($year."W".$week, but will get the dates in a week....
This page has information which may be helpful.
|
|
Link to previous thread:
http://www.flutrackers.com/forum/sho...604#post293604
The week 30 MMWR is out.
Started by wotan on
, 30 posts
by 9 people.
Answer Snippets (Read the full thread at flutrackers):
So in an average year http://www.cdc.gov/flu/about/disease...ted_deaths.htm , thats 1,600 per week on average, and one would expect it to be even....
CDC estimates 2.5 million deaths by all causes per year so thats 48,000 per week on average.
|
|
I need to be able to create recurring events that happen on specific days but don't necessarily happen every week. They could be scheduled bi-weekly, every 3 weeks, etc. There is a current implementation that needs an update and I'd like to use the temporal...
Started by Jeff Whitmire on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I've got....
If this is a scheduling application have you looked at: http://icalendar.rubyforge.org/ I've decided to build what I needed into runt .
You aren't clear, are you running a script continiously to do this? If so why not use something like "at" .
|
Ask your Facebook Friends
|
ChickenDipa's 52 week 2012 Week 21 added (Week 19 and 20 to do)
My thread for the 52 challenge, seen as the first theme is up I am getting prepped ready.
I will be using a couple of different cameras. Either my phone, Nikon S3100 or the D7000 (if I can...
Started by ChickenDipa on
, 30 posts
by 14 people.
Answer Snippets (Read the full thread at talkphotography):
Well best of luck in this challenge, it will take you to new places photographically and I know that the members that have completed previous years have found it a really enjoyable challenge :thumbs:
Matt
MWHCVT HI Alex...welcome to the 52's madhouse ... .
|
|
I am implementing a contest system in which the user has to choose the correct answer of multiple questions. Each week, there is a new set of questions. I am trying to find the correct way to store the user participations in a database. Right now I have...
Started by Antoine Aubry on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Do you really need to associate a participation with its week? You can get it through Question
So:
Answer(Id,UserId,QuestionId,Value) Question(Id,WeekId,Text) Week(Id, StartDate) Personally I think is keyed with the user and the week....
|
|
Let's say , I have a table, ClientTrade, like thus :
ClientName , TradeDate , Quantity
And I want to create a query in Oracle PLSQL which should return the result like this : (The days are derived from the TradeDate column and Mon = sum(Quantity) for ...
Started by Learning on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Actually, I found something in plsql which works out.
Thanks for your answers.
To cover the relevant week.
|
|
Lizzy23's 52 Week 20 "Leave (Joker) and Week 21 Random
well i've started the thread, so have laid down the challenge to myself really, just hope i'm still here at the end.
I hope over the coming weeks i can post something worth looking at, in the meantime...
Started by lizzy23 on
, 30 posts
by 20 people.
Answer Snippets (Read the full thread at talkphotography):
Going to this pub for 4 years i spotted this and liked it, so heres my week 1:) not sure.
|
|
The show is off next week? It was just Sam kinison week!! I mean fuck is it don imus week this week? Fuckin blows ... ROADRUNNER! MEEP MEEP!!
Started by knu3421 on
, 11 posts
by 9 people.
Answer Snippets (Read the full thread at dawgsaloon):
Originally Posted by knu34....
Nobody cares if the show is live next week? holy shit! ROADRUNNER! MEEP MEEP!! Does not matter there is about 7 or 8 shows a month and they have not started their two week vacation months yet an offer to leave.
|
|
Delta Skies 2012 52 Week Challenge - Week 21 "Random" added
After feeling under some pressure by Mrs Delta Skies (*Sarah*) I am signing up to the challenge. I've done a weekly photoblog before but am looking forward to the challenge of being set a theme...
Started by Delta Skies on
, 30 posts
by 18 people.
Answer Snippets (Read the full thread at talkphotography):
Good luck with the next 51
Nick :thumbs: Week....
My personal challenge is to take a new photo using that theme rather than search must think alike, I also chose a magnetic compass and map as part of this week's theme.
A theme each week.
|
|
Nick's 52/12 Week Challenge - Week 23 - 'Abstract' - added
I thought I would try the 52 Week Challenge for the first time, inspired by all the good work I have seen. I think it's a great way to compliment your hobby and give a bit of focus to it (no ...
Started by Blank_Canvas on
, 30 posts
by 19 people.
Answer Snippets (Read the full thread at talkphotography):
Week 2 is a little more challenging ! Hi ya
great start for your what...I've updated wk 1 for you :thumbs....
Looking forward to seeing ur images, Mandy Week 1 - Direction
For this first weeks theme I have for your comments and support.
|