@aws-amplify/core
Version:
Core category of aws-amplify
11 lines (10 loc) • 326 B
TypeScript
/**
* Returns a `Date` that is corrected for clock skew.
*
* @param systemClockOffset The offset of the system clock in milliseconds.
*
* @returns `Date` representing the current time adjusted by the system clock offset.
*
* @internal
*/
export declare const getSkewCorrectedDate: (systemClockOffset: number) => Date;