51 of 110 menu

The PHP date y m d

To get the current date, the date function is used. See the example:

<?php echo date('Y-m-d'); ?>

See Also

  • the date function,
    which formats a date
English
БеларускаяEspañolРусский
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline