How to get exact date if i change device date : Now the exact date is 8-Jun-2018

But if I change the device date to future or past (i.e 21-Jun-2018 or 21-Feb-2018)
How to get exact date i.e 8-Jun-2018
	