DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php date from format
<?php
$date
=
DateTime
::
createFromFormat
(
'j-M-Y'
,
'15-Feb-2009'
)
;
echo
$date
->
format
(
'Y-m-d'
)
;
?>
Source by www.php.net #
PREVIOUS
NEXT
Tagged:
#php
#date
#format
ADD COMMENT
Topic
COMMENT
Name
7+9 =
Submit