Jakub
unread,Nov 29, 2023, 8:27:12 AM11/29/23You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Napisałem taką funkcję aby z liczby pobrać tylko datę bez godzin , minut
i sekund.
function dayWithoutTime($inputInteger) {
$date = date('Y/m/d', $inputInteger);
$clearDate = $date . ' 00:00:00';
return strtotime($clearDate);
}
$datainILong = 1701265967;
dayWithoutTime($datainILong);
Czy znacie jakąś inną funkcję aby zrobić coś podobnego?