I\'d like to know if there is a formatting letter for PHP\'s date() that allows me to print minutes without leading zeros, or whether I have to manuall
date()
This also works
$timestamp = time(); // Or Your timestamp. Skip passing $timestamp if you want current time echo (int)date('i',$timestamp);