Ii am trying to get date and time using date but when i run application it takes first time executed application time and date in short time is not changed.
You have a bug in your code: Instead of [Dateformat setDateFormat:@"HH:MM"]; it should be [Dateformat setTimeFormat:@"HH:MM"];
[Dateformat setDateFormat:@"HH:MM"];
[Dateformat setTimeFormat:@"HH:MM"];