{
    "content": [
        {
            "type": "text",
            "text": "# Email::Date::Format (perldoc)\n\n## NAME\n\nEmail::Date::Format - produce RFC 2822 date strings\n\n## SYNOPSIS\n\nuse Email::Date::Format qw(emaildate);\nmy $header = emaildate($date->epoch);\nEmail::Simple->create(\nheader => [\nDate => $header,\n],\nbody => '...',\n);\n\n## DESCRIPTION\n\nThis module provides a simple means for generating an RFC 2822 compliant datetime string. (In\ncase you care, they're not RFC 822 dates, because they use a four digit year, which is not\nallowed in RFC 822.)\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **FUNCTIONS**\n- **AUTHORS**\n- **COPYRIGHT AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Email::Date::Format",
        "section": "",
        "mode": "perldoc",
        "summary": "Email::Date::Format - produce RFC 2822 date strings",
        "synopsis": "use Email::Date::Format qw(emaildate);\nmy $header = emaildate($date->epoch);\nEmail::Simple->create(\nheader => [\nDate => $header,\n],\nbody => '...',\n);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "FUNCTIONS",
                "lines": 18,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Email::Date::Format - produce RFC 2822 date strings\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 1.005\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Email::Date::Format qw(emaildate);\n\nmy $header = emaildate($date->epoch);\n\nEmail::Simple->create(\nheader => [\nDate => $header,\n],\nbody => '...',\n);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This module provides a simple means for generating an RFC 2822 compliant datetime string. (In\ncase you care, they're not RFC 822 dates, because they use a four digit year, which is not\nallowed in RFC 822.)\n",
                "subsections": []
            },
            "FUNCTIONS": {
                "content": "emaildate\nmy $date = emaildate; # now\nmy $date = emaildate( time - 60*60 ); # one hour ago\n\n\"emaildate\" accepts an epoch value, such as the one returned by \"time\". It returns a string\nrepresenting the date and time of the input, as specified in RFC 2822. If no input value is\nprovided, the current value of \"time\" is used.\n\n\"emaildate\" is exported only if requested.\n\nemailgmdate\nmy $date = emailgmdate;\n\n\"emailgmdate\" is identical to \"emaildate\", but it will return a string indicating the time in\nGreenwich Mean Time, rather than local time.\n\n\"emailgmdate\" is exported only if requested.\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "*   Casey West\n\n*   Ricardo SIGNES <rjbs@cpan.org>\n",
                "subsections": []
            },
            "COPYRIGHT AND LICENSE": {
                "content": "This software is copyright (c) 2004 by Casey West.\n\nThis is free software; you can redistribute it and/or modify it under the same terms as the Perl\n5 programming language system itself.\n",
                "subsections": []
            }
        }
    }
}