in reply to variable mixing numbers,characters & scalers
Like in the shell, say it as "M${date}${num}". You can give $num the form you want with sprintf. Or just use sprintf for the whole thing.
After Compline,Zaxo