DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
date to string in php
Date to
string
$date
=
"2021/03/13"
;
$newdate
=
date
(
'd M, Y'
,
strtotime
(
$date
)
)
;
echo
$newdate
;
PREVIOUS
NEXT
Tagged:
#date
#string
#php
ADD COMMENT
Topic
COMMENT
Name
1+4 =
Submit