You can also use this method using this web Click Here.
I want to use this method to get time and date in my app so i have two question
The user can hack this date and time ?
The google will send copy write because i am using another web link ? (publishing in play store)
Nope… No one can change time because the response is connect with website not with any system clock…Not sure about copyright…
Because I used this method to get hashtags for Instagram in my app … & published that app on play store…
Why it is not taking seconds
This method is only taking date
From One Of My Projects.
You can Drag the above Block image on your Workspace and you are done.
All fine br0 but how to get AM or PM
Time i think is in 24hr format,
Getting AM and PM out of it easy.
If time format is in 24 hours then I dont want am or pm but I think time is not in 24h format
All done my freiend thnxs
Use A Different API
finally i got Online time with this blocks in 24hr format
web1 address: Current Local Time in Kolkata, West Bengal, India
This is also a method for IST (24 hours format) time display or get the time in your app.
Where I use this website to get online time and set it to web url.
Hope this method also helps!
How to get the Date?
can i ask?, what if i just want to get the time without a date