Date Format Conversion In PHP

follow link Common date formats in PHP are m/d/y and d-m-y. opzioni binarie demo sviss option If the separator is a forward slash (/), then PHP assumes it as American format whereas, if the separator enter site is hyphen (-) or a Dot (.), then assumes it as European format. http://hickscountry.com/media/hicks-scandinavian-country-music-festival-1-5/feed/ To avoid this ambiguity, it is considered best to user DateTime::createFromFormat(). It works in almost all the cases. http://bestff.net/partners/rock/feed/?COLLCC=3754028643 Example:-

http://www.polykani.cz/?indianapolis=radiocarbon-dating-definition-chemistry&ff3=03

http://salpasafarit.fi/?kalimo=24-saat-forex&a4b=97 $cal_date = "20/04/2014"; echo date('Y-m-d', strtotime($cal_date)); // 1969-12-31 echo "###################"; $date = DateTime::createFromFormat('d/m/Y',$cal_date); $invdate = $date->format('Y-m-d'); echo $invdate; // 2014-04-20 For more details regarding the date formats you may visit PHP official website: date formats

http://mhs.se/mitt-konto/?sid=763c35419217823afb5110d2ff1c45cc