UNPKG

@ruanitto/react-native-ntp-sync

Version:
7 lines (6 loc) 273 B
/** * Gets the current time from the parsed NTP Server. * @param {String} server IP/Hostname of the NTP server * @param {Number} port Port of the NTP server */ export declare const getNetworkTime: (server: string, port: number, serverTimeout: number) => Promise<Date>;