{
    "content": [
        {
            "type": "text",
            "text": "# Net::Time (perldoc)\n\n## NAME\n\nNet::Time - time and daytime network client interface\n\n## SYNOPSIS\n\nuse Net::Time qw(inettime inetdaytime);\nprint inettime();          # use default host from Net::Config\nprint inettime('localhost');\nprint inettime('localhost', 'tcp');\nprint inetdaytime();       # use default host from Net::Config\nprint inetdaytime('localhost');\nprint inetdaytime('localhost', 'tcp');\n\n## DESCRIPTION\n\n\"Net::Time\" provides subroutines that obtain the time on a remote machine.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (1 subsections)\n- **EXPORTS**\n- **KNOWN BUGS**\n- **AUTHOR**\n- **COPYRIGHT**\n- **LICENCE**\n- **VERSION**\n- **DATE**\n- **HISTORY**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Net::Time",
        "section": "",
        "mode": "perldoc",
        "summary": "Net::Time - time and daytime network client interface",
        "synopsis": "use Net::Time qw(inettime inetdaytime);\nprint inettime();          # use default host from Net::Config\nprint inettime('localhost');\nprint inettime('localhost', 'tcp');\nprint inetdaytime();       # use default host from Net::Config\nprint inetdaytime('localhost');\nprint inetdaytime('localhost', 'tcp');",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": [
                    {
                        "name": "Functions",
                        "lines": 12
                    }
                ]
            },
            {
                "name": "EXPORTS",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "KNOWN BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "LICENCE",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DATE",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "HISTORY",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Net::Time - time and daytime network client interface\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Net::Time qw(inettime inetdaytime);\n\nprint inettime();          # use default host from Net::Config\nprint inettime('localhost');\nprint inettime('localhost', 'tcp');\n\nprint inetdaytime();       # use default host from Net::Config\nprint inetdaytime('localhost');\nprint inetdaytime('localhost', 'tcp');\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "\"Net::Time\" provides subroutines that obtain the time on a remote machine.\n",
                "subsections": [
                    {
                        "name": "Functions",
                        "content": "\"inettime([$host[, $protocol[, $timeout]]])\"\nObtain the time on $host, or some default host if $host is not given or not defined, using\nthe protocol as defined in RFC868. The optional argument $protocol should define the\nprotocol to use, either \"tcp\" or \"udp\". The result will be a time value in the same units as\nreturned by time() or *undef* upon failure.\n\n\"inetdaytime([$host[, $protocol[, $timeout]]])\"\nObtain the time on $host, or some default host if $host is not given or not defined, using\nthe protocol as defined in RFC867. The optional argument $protocol should define the\nprotocol to use, either \"tcp\" or \"udp\". The result will be an ASCII string or *undef* upon\nfailure.\n"
                    }
                ]
            },
            "EXPORTS": {
                "content": "The following symbols are, or can be, exported by this module:\n\nDefault Exports\n*None*.\n\nOptional Exports\n\"inettime\", \"inetdaytime\".\n\nExport Tags\n*None*.\n",
                "subsections": []
            },
            "KNOWN BUGS": {
                "content": "*None*.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Graham Barr <gbarr@pobox.com <mailto:gbarr@pobox.com>>.\n\nSteve Hay <shay@cpan.org <mailto:shay@cpan.org>> is now maintaining libnet as of version\n1.2202.\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright (C) 1995-2004 Graham Barr. All rights reserved.\n\nCopyright (C) 2014, 2020 Steve Hay. All rights reserved.\n",
                "subsections": []
            },
            "LICENCE": {
                "content": "This module is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself, i.e. under the terms of either the GNU General Public License or the Artistic\nLicense, as specified in the LICENCE file.\n",
                "subsections": []
            },
            "VERSION": {
                "content": "Version 3.13\n",
                "subsections": []
            },
            "DATE": {
                "content": "23 Dec 2020\n",
                "subsections": []
            },
            "HISTORY": {
                "content": "See the Changes file.\n",
                "subsections": []
            }
        }
    }
}