Thanks to much to answer me, I will explain with details:
Below you can see my tmisdata.conf, in this part I want to receive the date,
[tmsi]
last=007b000b
[ues]
3340202101XXXXX=007b000b,3590300645XXXXX,520187458,1500733238,ybts/TMSI007b000b,[object Date]
In my NIB.js I try to insert the date in the function saveUEinConf(imsi,subcriber)
function saveUEinConf(imsi,subscriber)
{
if (subscriber!=undefined) {
var fim = new Date();
var fecha = fim.toString();
var dia = fim.getDate();
var mes = fim.getMonth();
var año = fim.getFullYear();
var hora = fim.getHours();
var minuto = fim.getMinutes();
var segundo = fim.getSeconds();
var fields = subscriber["tmsi"]+","+subscriber["imei"]+","+subscriber["msisdn"]+","+subscriber["expires"]+","+subscriber["location"]+","+dia+","+mes+","+año+","+hora+","+minuto+","+segundo;
} else
conf.clearKey(ues,imsi);
if (conf.save()==false)
Engine.alarm(4, "Could not save tmsi in tmsidata.conf");
}
I dont know if is the correct part to insert this variable or please if you recommend me if I need to create one TXT with:
IMSI, IMEI, DATE, HOUR,
I will appreciate a lot if you can help me,
Again to much thanks,
Best regards,
//Aldo T