- Jun 6, 2020
- 11,559
- 4,422
This class sends a request to a SNTP server (time server) and finds the offset between the local clock and the remote clock.
Usage example:
B4X:
You only need to calculate the offsets once. Once calculated you can call Sntp.Now to get the current time.
This class will work in B4A, B4J and B4i.
Depends on: Network and RandomAccessFile.
It is based on Android source code - Apache license 2.0.
Usage example:
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
You only need to calculate the offsets once. Once calculated you can call Sntp.Now to get the current time.
This class will work in B4A, B4J and B4i.
Depends on: Network and RandomAccessFile.
It is based on Android source code - Apache license 2.0.
برای دیدن لینک ها باید ثبت نام کنید