Jump to content

misiek

New Members
  • Posts

    2
  • Joined

  • Last visited

misiek's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I think I could be acceptable to have an error in calculation just for one week as long as the rest of year would calculate properly. Today is Wednesday and 9th week of the year just started. I could go around the problem by giving users 2 fields with pick date and then query the range. But I would like to remain with just single entry of week number as it looks neat.
  2. Hello Freaks, Currently I have this: <div>Week: <input type="text" name="weekNo" id="weekNo" placeholder="<?php echo $weekNumber = date("W"); ?>"/> </div> Then on form submission, the week of the year number is part of WHERE statement in my query. In results I get all entries withing this week. Until now it has work great, but I have been requested to change it to calculate data not from Monday to Sunday, but from Wednesday to Tuesday. I have probably spent 4ish hours browsing through search engines but can't find a solution. Can anyone be so kind and help me with this, please?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.