PHP date(): minutes without leading zeros
For times with more information than just minutes:
ltrim()
- Strip whitespace (or other characters) from the beginning of a string
ltrim(date('i:s'), 0);
returns:
8:24
Use:
$minutes = intval(date('i'));