-2

First of all, I know that there are many questions like mine. However, I cannot understand that solutiona or they just doesn't work. So, I don't need the date and time from DEVICE. I need the real date and time in the Asia/Tashkent. Also i tried the way with

DateFormat.getDateTimeInstance(): 

This one shows device date and time too. In other words I need the date which user will not be able to manipulate by changing device date. At least just advice some useful APIs e.t.c. I know that there is a lot of such kind questions. Also, please, explain which part of the code is used for what.

Markus Kauppinen
  • 3,025
  • 4
  • 20
  • 30
Ramby
  • 1
  • Welcome to Stackoverflow. Please review [this](https://stackoverflow.com/help/on-topic) and [this](https://stackoverflow.com/help/dont-ask) – SQLiteNoob Sep 11 '19 at 14:46

1 Answers1

0

This solution seems simple to me. Give it a try.

Rayhan Hanaputra
  • 106
  • 2
  • 16