[Free] Get Date and Time from a NTP server. The time in other cities


#1

With this extension we can get date and time from a NTP server.

To get links to NTP servers, search in Internet ‘server ntp’

Also with this extension you can get the date and time in other cities.
Example: America/Mexico_City

http://php.net/manual/es/timezones.europe.php
http://php.net/manual/es/timezones.america.php

Date-Time is in this format:
dd/MM/yyyy/hh/mm/ss
24/02/2018/17/21/42

Hola amigos, con esta extensión podemos conseguir fácilmente la fecha y hora suministrado desde un servidor NTP.
También podemos ver la fecha y hora en determinadas ciudades, por ejemplo en America/Mexico_City

El formato con el que conseguimos la información es:
dd/MM/yyyy/hh/mm/ss
24/02/2018/17/21/42

com.KIO4_Time.aix (406.8 KB)

http://kio4.com/appinventor/

Saludos.


Help me to show time in my app
How do I set my app GMT time?
Get current date
#2

por que es tan grande la extension


#3

Hola @Andres_Cotes

  • Como ves, la extensión ocupa unos 400 KB, debido a que contiene una librería bastante grande.

  • Si quieres una versión reducida en tamaño de esta extensión que solo ocupa 6 KB, puedes bajar la siguiente, que solo contiene el bloque de TimeZone:
    com.KIO4_TimeZ.aix (6.0 KB)


#4

muchas gracias Juan Por tu aporte


#5

suppose , i using a button for waiting 15 minutes.When button click, time counting start.
Then if anyone increase system time, they need to wait 15 minutes?
can anyone hack timezone?


#6

just lookup UTC time from the server…
Taifun


#7

Hey @Juan_Antonio
unluckily I get this error, each time I wanna build a app including your extension.

Do you have a solution?


#8

It works for me.
I use App Inventor.
I have not tried it in Appybuilder.

Try again.

com.KIO4_Time.aix (399.2 KB)
com.KIO4_TimeZ.aix (6.0 KB)


#10

Hello.

NTP server “hora.roa.es” is down or not work for me

Now work for me: 0.pool.ntp.org
others opctions:
1.pool.ntp.org
2.pool.ntp.org
3.pool.ntp.org

thx u for extension!


#11

Please make in english language


#12

hello your extension converts the time perfectly but I can’t compile apk because it goes wrong. How do I solve it? thank you


#13

you might want to elaborate… any error message?
Taifun


#14


#15

as we can see, you get the DX execution failed error while building the app
are you saying, the app builds fine if you remove that extension?
if yes, it might be, that the exension is not compatible with Thunkable
Taifun


#16

yes indeed it is really so. I removed the extension and used onlinechecker, to capture the exact time to launch onsignal push notification. at the times I need . thanks for the explanation


#17

Can you make it possible??? Pls sir reply me.