PHP-də tarixlərin dəyişdirilməsi

date_createdate_modifydate_format
Задание 1

Verilmiş tarix:

php<?php
  $date = '2025-12-31';
?>

Bu tarixə 2 gün əlavə edin.

Задание 2

Verilmiş tarix:

php<?php
  $date = '2025-12-31';
?>

Bu tarixə 1 ay və 3 gün əlavə edin.

Задание 3

Verilmiş tarix:

php<?php
  $date = '2025-12-31';
?>

Bu tarixə 1 il əlavə edin.

Задание 4

Verilmiş tarix:

php<?php
  $date = '2025-12-31';
?>

Bu tarixdən 3 gün çıxın.

Задание 5

Verilmiş tarix:

php<?php
  $date = '2025-12-31';
?>

Bu tarixdən 1 ay və 3 gün çıxın.