DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php convert string to date
$time = strtotime('10/16/2003'); $newformat = date('Y-m-d',$time); echo $newformat; // 2003-10-16
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#php
#convert
#string
#date
ADD COMMENT
Topic
COMMENT
Name
7+2 =
Submit