This question already has an answer here:
Calendar calendar = Calendar.getInstance(); Date udoa = new Date(calendar.getTime().getTime());`
Here, I am storing system date in
udoa (local variable)
I want to display it in
I am using this, but it is not working because data type of
udoa is date.
Does anybody know how to achieve this?