Code Comments
Programming Forum and web based access to our favorite programming groups.Hi all, Just a little question about the following query : SELECT *,(TO_DAYS(task_done) - TO_DAYS(task_planned)) AS days FROM tasks "days" is the diffrence in days between two dates. I would like to exclude days of te w-end (saturdays ans sundays). Is it possible to do that into the query or do i have to do it with PHP? Thanks? ---------------------------------------- The post originated from PHP Freaks: ---------------------------------------- http://www.phpfreaks.com http://www.phpfreaks.com/forums
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.