DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php date strtotime format
$date = '25/05/2010'; $date = str_replace('/', '-', $date); echo date('Y-m-d', strtotime($date));
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#php
#date
#strtotime
#format
ADD COMMENT
Topic
COMMENT
Name
1+2 =
Submit