[ create a new paste ] login | about

Link: http://codepad.org/WQhA9L9s    [ raw code | output | fork ]

PHP, pasted on Jul 21:
1
2
3
4
5
6
7
8
9
<?php

$months = 62;

$days = $months*30;
$weeks = $months*4;
$years = $months/12;

echo 'Days:' . $days . ' Weeks:' . $weeks . ' Months:' . $months . ' Years:' . $years;


Output:
1
Days:1860 Weeks:248 Months:62 Years:5.1666666666667


Create a new paste based on this one


Comments: