J
J
j_seitaliev2015-10-29 13:10:19
symfony
j_seitaliev, 2015-10-29 13:10:19

Symfony changes dates taken from a table. How to get unformatted data?

Symfony changes dates taken from a table. How to get unformatted data?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2015-10-29
Protko @Fesor

what does "change" mean? It converts strings to DateTime, then you can format it the way you want.

E
Evgeny Svirsky, 2015-10-29
@e_svirsky

This is due to the timezone setting in PHP on the server, specifically in the case of UTC.
Check that everything is ok.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question