how to update date and time in textview which is in listview for messages each time -
gregoriancalendar calcreationdate = new gregoriancalendar(); int intmilli = calcreationdate.get(calendar.millisecond); int intseconds = calcreationdate.get(calendar.second); calcreationdate.add(calendar.millisecond, (-1*intmilli)); calcreationdate.add(calendar.second, -1*intseconds); calcreationdate.add(calendar.minute, 1); date datestartdate = calcreationdate.gettime(); string time =datestartdate.tostring();
Comments
Post a Comment