šŸ‘‰ How can I detect if a user’s phone time is set manually (not automatic) in Kodular or Android apps?

Hi,

Another method could be using a shell command.
Unfortunately, Kodular’s shell component doesn’t work properly, but by using KIO4_Terminal you can run:

curl -s --head http://google.com | grep ā€œ^Date:ā€ | awk ā€˜{print $6}’

This command returns the header of Google’s page,

HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Content-Type: text/html; charset=UTF-8
Content-Security-Policy-Report-Only: object-src 'none';base-uri 'self';script-src 'nonce-4VmL4MJ7OA8WnXjWRsiITA' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
Date: Wed, 29 Oct 2025 15:32:36 GMT
Expires: Fri, 28 Nov 2025 15:32:36 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 219
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN

which contains various information including the Date with GMT time and this specific command will extract only the time.

1 Like