format_date vers 'YYYY/MM/DD'
This commit is contained in:
parent
d3d2aa8696
commit
5907d017d5
1 changed files with 3 additions and 0 deletions
|
|
@ -741,6 +741,9 @@ function format_date($p_date, $p_from_format = 'YYYY-MM-DD',$p_to_format='DD.MM.
|
|||
break;
|
||||
case 'YYYYMMDD':
|
||||
$str_date = $date[0] . $date[1] . $date[2];
|
||||
break;
|
||||
case 'YYYY/MM/DD':
|
||||
$str_date = $date[0] . '/' . $date[1] . '/' . $date[2];
|
||||
break;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue