Codice PHP:
$s="0000026324";
$str=strftime("%y%m%d%H%M%S").substr($s,2);