You get a bonus - 1 coin for daily activity. Now you have 1 coin

Twig date format modifier

Practice




Twig date format modifier

{{ meeting.date|date("m/d/Y") }}


m - month number (from 01 to 12)

M - minutes

d - day of the month in decimal format (from 01 to 31)

y - year as a decimal number without the century (from 00 to 99)

Y - year as a decimal number including the century

in twig, as I understand it, the modifiers are called variables....

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Running server side scripts using PHP as an example (LAMP)"

Terms: Running server side scripts using PHP as an example (LAMP)