Are you a Google Analytics enthusiast?
More SEO Content
Posted 30 October 2004 - 10:52 AM
On our order form the user has to select their desired delivery date by choosing from drop down menus the day of the month, e.g. 23 and the Month, e.g. November.
Is there a formula that will take these two inputs along with taking the current year from the server to work out if the selected date, e.g. 10 October is a Sunday?
Any help would be appreciated,
Posted 30 October 2004 - 12:14 PM
DayName = weekdayname(weekday(intDay & "/" & intMonth & "/" & intYear))
(reorder the date parts in the concatenation to suit country)
$dayarray = getdate(strtotime( $intMonth . '/' . $intDay . '/' . $intYear));
$strDayName = $dayarray["weekday"];
useage for both
Posted 06 December 2004 - 06:26 AM
Anyway, belated thanks for your help, excellent as usual.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users