I am working on a project and i get dates from my IMAP client using imap_headerinfo(). I get 2021 24 02 01:44 when I want it to be 2021 24 02 13:44 aka. 24 hours format. How to I convert this?
code:
$header = imap_headerinfo($imap, $result[$i]);
$date = $header->date;