hello everybody, I am new to php prog... and need a big help from anyone of u,plz... i am working on php and mysql ( and javascript ) on linux (rh9)... in my application i hav to calculate the no. of sundays between two given dates. for ex:- ( my input is ) $date1 = 1 Jan 2005 $date2 = 8 Jan 2005 ( my output shud b ) $period = 7 $noSundays = 1 well for the dates there is calender, which is also in javascript and i am able to calculate the period using javascript too. and that value i am storing in in the php variables and displaying them. But i need to substract the sundays too. Can sombody plz suggest me what to do? Or if i am not clear in this mail i ll give more info.. thanking you and waiting for ur valuable responces -regards shyam PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/