|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [2019-01-01 19:04 UTC] jed_keenan at hotmail dot com
 Description: ------------ --- From manual page: https://php.net/function.date --- Any chance of having Seconds without leading zero to go with Hours [%k] and Minutes [%l]? Maybe %q? Expected result: ---------------- %q = Seconds without leading 0 :) Patchesseconds-without-leading-zeros (last revision 2019-01-03 16:05 UTC by lagodichyuriy at gmail dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 04:00:01 2025 UTC | 
I don't think we should add this. There is almost no need for formatting a time without leading zeros for seconds. If you just want to get a number for the seconds, you can use idate('s') instead. The date() function also does not support minutes without leading zeroes ('l' is for day names) and I don't know where you get 'k' from.