- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
if ( empty($claimDate) || $claimDate == '0000-00-00 00:00:00' ) {
$dateForPass = date('d.m.Y');
} else {
$arr1 = explode(' ', $claimDate);
$arr2 = explode('-', $arr1[0]);
$dd = $arr2['2']; $mm = $arr2['1']; $yy = $arr2[0];
$dateForPass = $dd.'.'.$mm.'.'.$yy;
}
zenn1989 12.10.2016 15:48 # +4
kegdan 12.10.2016 18:55 # +1
Balza 25.08.2021 20:58 # 0