Skip to main content
Participant
November 6, 2013
Answered

how to get a time from a NTP server in ActionScript 3 ?

  • November 6, 2013
  • 1 reply
  • 1206 views

Dear All,

I need your advice, how to get the time from NTP Server , I tried to do this, but I don't.

Thanks

Omar Mahmoud

This topic has been closed for replies.
Correct answer kglad

use a server-side script to call the ntp server and return the time/date.  use the as3 urlloader class to call your server-side script.

1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
November 6, 2013

use a server-side script to call the ntp server and return the time/date.  use the as3 urlloader class to call your server-side script.

Participant
November 6, 2013

how can I create the server-side script, and if you can example please.

kglad
Community Expert
Community Expert
November 6, 2013

you must use a server-side language supported by your server.  php is a commonly supported language on most servers.

php tutorials can be found via google or any other search engine.