Sorry cause no so undestanding Gregorian calendar. Just undestand after read the articles. I mean is numbers of whole weeks. The day should be starting on Sunday.
Actually i want to get total week for a year first. Then from here i need to count number of week for a month accordingly. This is use to generate an annual report.
Is mean that example for January 2008, i have 5 week in this month. I want that can generate this number of week according for the year. Thanks jpadie. I will try the solution you give.
Number of week here mean total number of week in a month. I use code below to get get it. Is it correct?
$Total1=max(date('W', mktime(0,0,0,1,25,$year)), date('W', mktime(0,0,0,1,31,$year)));
$Total2=max(date('W', mktime(0,0,0,2,25,$year)), date('W', mktime(0,0,0,2,31,$year)))...
Is that posible that do the auto send email reminder function according to reminder date without use the crontab?
Still have others way to done this function?
Here have an question on passing values using javascript. Below is javascript function. document.all("site_pkid").value; is a drop down list that select data from databse. An the other value is just input text field.I get an Error: document.all("site_pkid") is undefined
while running this use...
Hi,
I have a problem that in looping of two queries.
My code as below:
<?
$queryWorkOrderStatus = "SELECT * FROM " . $table['work_order'] ." WHERE
lower(workOder_status) LIKE LOWER('%" . $keyword . "%') AND site_pkid = $filterId";
$resultsWorkOrderStatus =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.