Skip to content

Commit 2015dba

Browse files
authored
Update README.md
1 parent 62b3c3b commit 2015dba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,3 +222,8 @@ LEFT JOIN medicine_category AS b ON a.category = b.id
222222
LEFT JOIN manufacturer AS c ON a.manufacturer = c.id
223223
LEFT JOIN medicine_unit AS d ON a.unit = d.id;
224224
```
225+
### Get the number of days in a month for a specified year and calendar
226+
```php
227+
$d=cal_days_in_month(CAL_GREGORIAN,10,2005);
228+
echo "There was $d days in October 2005";
229+
```

0 commit comments

Comments
 (0)