@ 2014-10-17T21:55:48Z <?php
$date=date_create();
date_date_set($date,1975,11,28);
echo date_format($date,"Y/m/d g");
$date1=date_create_from_format("j-M-Y","15-Mar-2013");
echo $date1;
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.4.0 - 7.4.33 , 8.0.0 - 8.0.12 , 8.0.14 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 1975/11/28 11
Fatal error: Uncaught Error: Object of class DateTime could not be converted to string in /in/72mDK:8
Stack trace:
#0 {main}
thrown in /in/72mDK on line 8
Process exited with code 255 . Output for 8.0.13 1975/11/28 9
Fatal error: Uncaught Error: Object of class DateTime could not be converted to string in /in/72mDK:8
Stack trace:
#0 {main}
thrown in /in/72mDK on line 8
Process exited with code 255 . Output for 7.3.32 - 7.3.33 1975/11/28 9
Recoverable fatal error: Object of class DateTime could not be converted to string in /in/72mDK on line 8
Process exited with code 255 . Output for 7.1.0 - 7.1.20 , 7.2.0 - 7.2.33 , 7.3.16 - 7.3.31 1975/11/28 11
Recoverable fatal error: Object of class DateTime could not be converted to string in /in/72mDK on line 8
Process exited with code 255 . Output for 5.3.0 - 5.3.29 , 5.4.0 - 5.4.34 , 5.5.31 , 5.6.21 - 5.6.28 , 7.0.14 - 7.0.20 1975/11/28 11
Catchable fatal error: Object of class DateTime could not be converted to string in /in/72mDK on line 8
Process exited with code 255 . Output for 5.5.29 , 7.0.0 , 7.0.6 1975/11/28 4
Catchable fatal error: Object of class DateTime could not be converted to string in /in/72mDK on line 8
Process exited with code 255 . Output for 5.6.9 , 7.0.5 1975/11/28 5
Catchable fatal error: Object of class DateTime could not be converted to string in /in/72mDK on line 8
Process exited with code 255 . Output for 5.5.24 , 5.5.35 , 5.6.12 , 5.6.18 , 7.0.3 - 7.0.4 1975/11/28 3
Catchable fatal error: Object of class DateTime could not be converted to string in /in/72mDK on line 8
Process exited with code 255 . Output for 5.4.43 - 5.4.45 , 5.5.26 , 5.5.33 , 5.6.13 , 5.6.19 , 7.0.1 - 7.0.2 1975/11/28 2
Catchable fatal error: Object of class DateTime could not be converted to string in /in/72mDK on line 8
Process exited with code 255 . Output for 5.6.10 , 5.6.20 1975/11/28 12
Catchable fatal error: Object of class DateTime could not be converted to string in /in/72mDK on line 8
Process exited with code 255 . Output for 5.5.25 , 5.5.27 , 5.5.32 , 5.6.17 1975/11/28 8
Catchable fatal error: Object of class DateTime could not be converted to string in /in/72mDK on line 8
Process exited with code 255 . Output for 5.5.28 , 5.5.34 , 5.6.16 1975/11/28 6
Catchable fatal error: Object of class DateTime could not be converted to string in /in/72mDK on line 8
Process exited with code 255 . Output for 5.6.15 1975/11/28 7
Catchable fatal error: Object of class DateTime could not be converted to string in /in/72mDK on line 8
Process exited with code 255 . Output for 5.4.35 - 5.4.42 , 5.6.11 , 5.6.14 1975/11/28 10
Catchable fatal error: Object of class DateTime could not be converted to string in /in/72mDK on line 8
Process exited with code 255 . Output for 5.6.7 - 5.6.8 1975/11/28 1
Catchable fatal error: Object of class DateTime could not be converted to string in /in/72mDK on line 8
Process exited with code 255 . Output for 5.5.30 1975/11/28 9
Catchable fatal error: Object of class DateTime could not be converted to string in /in/72mDK on line 8
Process exited with code 255 . Output for 5.2.0 - 5.2.17 1975/11/28 11
Fatal error: Call to undefined function date_create_from_format() in /in/72mDK on line 7
Process exited with code 255 . Output for 5.0.0 - 5.0.5 , 5.1.0 - 5.1.6 Fatal error: Call to undefined function date_create() in /in/72mDK on line 3
Process exited with code 255 . Output for 4.4.5 - 4.4.9 Fatal error: Call to undefined function: date_create() in /in/72mDK on line 3
Process exited with code 255 . Output for 4.3.2 - 4.3.11 , 4.4.0 - 4.4.4 Fatal error: Call to undefined function: date_create() in /in/72mDK on line 3
Process exited with code 255 . Output for 4.3.0 - 4.3.1 Fatal error: Call to undefined function: date_create() in /in/72mDK on line 3
preferences:dark mode live preview
236.54 ms | 401 KiB | 313 Q