Write a PHP script to get the number of the month before the current month
- برمجة بي اتش بي
- 2021-09-09
- mhanasmh00489829403
الأجوبة
<?php
echo date('m', strtotime('-1 month'))."\n";
?>
Sample Output:
06
القوائم الدراسية التي ينتمي لها السؤال
<?php
echo date('m', strtotime('-1 month'))."\n";
?>
Sample Output:
06
القوائم الدراسية التي ينتمي لها السؤال