W
W
WQP2014-07-12 21:56:42
PHP
WQP, 2014-07-12 21:56:42

How to change php date to normal

Available:
$data_t = Sat Jul 12 17:46:29 +0000 2014
How to convert date to
04:33, 29.06.2014

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nazar Mokrinsky, 2014-07-12
@WQP

date('H:i, d.m.Y', strtotime($data_t))

G
Grag, 2014-07-12
@Grag

Such tasks - 5 minutes in Google.

A
Alexander Zelenin, 2014-07-13
@zelenin

Write a function to convert "dd.mm.yyyy" to "yyyy-mm-dd hh:ss:mm" in pure php?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question