<?php
$input = '01-04-2014';
$a = explode('-',$input);
$result = strftime("%b",mktime(0,0,0,$a[0])).$a["Y"];
echo $result;
- Output for 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
- Deprecated: Function strftime() is deprecated in /in/GtFvm on line 6
Warning: Undefined array key "Y" in /in/GtFvm on line 6
Jan
- Output for 8.0.0 - 8.0.30
- Warning: Undefined array key "Y" in /in/GtFvm on line 6
Jan
- Output for 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.33
- Notice: Undefined index: Y in /in/GtFvm on line 6
Jan
- Output for 7.3.32 - 7.3.33
- Jan
preferences:
155.26 ms | 401 KiB | 183 Q