31.08.2013, 20:17
You see, I want to make a pickup. And when you pick it up, it checks if the weekday is saturday. I can do the pickup but the checking part is a little bit confusing. I tried doing if(weekday_str == "Saturday"), but it gives me a problem that the variable is undefined. I tried defining it at the top instead of GetWeekDay(day=0, month=0, year=0), it gives me a warning.