#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Finland
    Posts
    1
    Rep Power
    0
    I hope you can help me!
    I would need to get a date out of a week number, for example for week 52 the first date, 25/12.
    In my system the user inputs a week number, and then I would like to display a popup list of all seven dates for that week, for her to choose from.

    Is there a handy function to do this, or can you think of any way to achieve this?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    45
    Rep Power
    14
    Check out the mktime fuction, here http://www.php.net/manual/function.mktime.phpBasically that in conjuction with date function will help you with your task. Not that hard to accomplish with those two functions. Need more help, reply.

Similar Threads

  1. database date selection problem
    By kidsleep in forum MySQL Help
    Replies: 0
    Last Post: January 31st, 2004, 10:50 AM
  2. date for given week and year
    By ssaurabh in forum HTML Programming
    Replies: 0
    Last Post: January 29th, 2004, 04:37 PM
  3. finding out the year week from date
    By shafan in forum Visual Basic Programming
    Replies: 0
    Last Post: January 28th, 2004, 02:54 AM
  4. Replies: 1
    Last Post: January 14th, 2004, 09:42 AM
  5. subquery for date not working
    By xsarpedonx in forum MySQL Help
    Replies: 4
    Last Post: December 18th, 2003, 11:58 PM

IMN logo majestic logo threadwatch logo seochat tools logo