Hi,
I want to get IST current date time when i changed my device date time setting to any future or past date.
For example :-
- IST date is 12-Dec-2023
- I changed my device date to 10-Dec-2023.
- But i want to show 12-Dec-2023 in my device.
How can i do that? I already tried moment luxon.
Top comments (2)
Use the WorldTime API
U can get the JavaScript Date Object by simply:
Thanks for your reply, but there will be possibility where my app works when no internet. And i can't store time also.