Script for getting dates week to week ttpe thing....
Posted: Fri Nov 27, 2009 7:11 am
Ok,
I am setting up an admin section for a client and they have two week formats... Tuesday to Tuesday for invoicing and Friday to Friday to send out bookings to staff.
Now I can get the date and manipulate the date to find tomorrow next week etc but this is a little different,
I need to be able to get todays date work out the 7 days before and after that date and discover which date the Tuesday falls on and which date falls on a Friday.
I really dont need a full script etc from people, as I always thinks that's cheating a bit - If I learn by example or work my way through a problem I am more likely to remember next time!
but if someone could point me to a tutorial or something similar that could help me I would be very grateful.
Jimmy
I am setting up an admin section for a client and they have two week formats... Tuesday to Tuesday for invoicing and Friday to Friday to send out bookings to staff.
Now I can get the date and manipulate the date to find tomorrow next week etc but this is a little different,
I need to be able to get todays date work out the 7 days before and after that date and discover which date the Tuesday falls on and which date falls on a Friday.
I really dont need a full script etc from people, as I always thinks that's cheating a bit - If I learn by example or work my way through a problem I am more likely to remember next time!
but if someone could point me to a tutorial or something similar that could help me I would be very grateful.
Jimmy