I have a php form which requires the user to input a date. I have three check boxes that they can choose from: "today", "tomorrow", and "other" (where other requires them to enter a specific date in the field.
I want "today" to print out the current day, "tomorrow" to print out tomorrow's day/date, and "other" to print out the date they choose. The format should be "Day, Month date" (Friday, July 8).
For today's date it's pretty straight forward, just use the getdate() array, but is there a simple way to get tomorrow's date (without requiring multiple steps/error checking)? And is there a simple way to convert the output of (and is the day of the week stored in the output for type=date)?