Demos are saved with date correctly at HLTV, do not need to edit. Only edit demo name.
It will be saved like in name-1101290037-de_inferno.dem
@Mankled
Check format_time function for manually create date and times string and place in client_cmd with your command. Or just:
PHP Code:
client_cmd(id, "stop; record demo-%i",get_systime());
It will save a demo using time elapsed in seconds since 1970
__________________