Changeset 161 for trunk/includes/global_function.php
- Timestamp:
- Mar 18, 2009, 10:34:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global_function.php
r158 r161 16 16 //$return = StrToLower($return); // velká písmena nahradí malými. 17 17 return($return); 18 } 19 20 function getmonthyears($Days) { 21 22 $month = floor($Days/30); 23 $year = floor($month/12); 24 $Days = $Days - $month*30; 25 $$month = $month - $year*12; 26 27 return $year.'r '.$month.'m '.$Days.'d'; 18 28 } 19 29
Note:
See TracChangeset
for help on using the changeset viewer.