How to set Date and time format?

Post Reply
User avatar
stani
Master Bludit
Posts: 79
Joined: Wed Oct 14, 2020 1:34 pm
Has thanked: 1 time

In Setting - Language - Date format is: "j F Y" (= DD.MM.YYYY).
"F" = is the month, but in words. How to do it with a number?

And how to set DD.MM.YYYY H:M - Hours and Minutes (in 24h mode), please?

thanks
Last edited by stani on Sat Feb 27, 2021 9:51 pm, edited 1 time in total.
lightmat
Sr. Bludit
Posts: 46
Joined: Fri Feb 21, 2020 10:53 pm

Date and time comes from the webserver itself, so you have to edit correct date and time there.

The format is the only thing you can edit via Bludit, and it uses PHP DateTime Format.
Full list here:
https://www.php.net/manual/en/datetime.format.php

YYYY = Is not month, but year

j F Y = 28 February 2021
User avatar
stani
Master Bludit
Posts: 79
Joined: Wed Oct 14, 2020 1:34 pm
Has thanked: 1 time

lightmat: thanks ;)

I have it: j.m.Y G:i
or: j/m/Y G:i
lightmat
Sr. Bludit
Posts: 46
Joined: Fri Feb 21, 2020 10:53 pm

No problem, you are welcome
Post Reply