Having checked, there were two functions I've been playing with:
function dadabik_iso_date_format($the_date) {
return date_format(date_create($the_date), DATE_ISO8601);
}
function dadabik_lpad_4($in) {
return str_pad($in, 4, "0", STR_PAD_LEFT);
}
To display 413 records as a Results list...