Example
3:50 = this is time of GMT +2 and putted it in item of spinner by 24 hours.
4:20
TO
12:50
Thank you for sharing ideas.
Example
3:50 = this is time of GMT +2 and putted it in item of spinner by 24 hours.
4:20
TO
12:50
Thank you for sharing ideas.
This will get you the curent hour and minute of the day in GMT+2
TimeZone timeZone = new TimeZone();
timeZone.setOffset(2);
Calendar calendar = Calendar.getInstance(timeZone);
int hour = calendar.get(Calendar.HOUR_OF_DAY);
int minute = calendar.get(Calendar.MINUTE);