Function whatTimeIsIt

  • whatTimeIsIt function

    Example

    whatTimeIsIt({ name: "John", age: 30 });
    // prints "Hey John, it's 10:00"

    See

    JSDoc Supported Types

    Example

    interface

       interface MyObj {
    name: string;
    age: number;
    gender?: string;
    }

    Returns

    number - returns the current time in timestamp

    Parameters

    Returns number

Generated using TypeDoc