DateTime.pm | A date and time object for Perl | Date Time Utils library

 by   houseabsolute Perl Version: Current License: Non-SPDX

kandi X-RAY | DateTime.pm Summary

kandi X-RAY | DateTime.pm Summary

DateTime.pm is a Perl library typically used in Utilities, Date Time Utils applications. DateTime.pm has no bugs, it has no vulnerabilities and it has low support. However DateTime.pm has a Non-SPDX License. You can download it from GitHub.

DateTime is a class for the representation of date/time combinations, and is part of the Perl DateTime project. For details on this project please see The DateTime site has a FAQ which may help answer many "how do I do X?" questions. The FAQ is at It represents the Gregorian calendar, extended backwards in time before its creation (in 1582). This is sometimes known as the "proleptic Gregorian calendar". In this calendar, the first day of the calendar (the epoch), is the first day of year 1, which corresponds to the date which was (incorrectly) believed to be the birth of Jesus Christ. The calendar represented does have a year 0, and in that way differs from how dates are often written using "BCE/CE" or "BC/AD". For infinite datetimes, please see the DateTime::Infinite module.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              DateTime.pm has a low active ecosystem.
              It has 44 star(s) with 44 fork(s). There are 15 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 20 open issues and 55 have been closed. On average issues are closed in 572 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of DateTime.pm is current.

            kandi-Quality Quality

              DateTime.pm has 0 bugs and 0 code smells.

            kandi-Security Security

              DateTime.pm has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              DateTime.pm code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              DateTime.pm has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              DateTime.pm releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of DateTime.pm
            Get all kandi verified functions for this library.

            DateTime.pm Key Features

            No Key Features are available at this moment for DateTime.pm.

            DateTime.pm Examples and Code Snippets

            No Code Snippets are available at this moment for DateTime.pm.

            Community Discussions

            QUESTION

            perl - package name: Can I use path from root?
            Asked 2019-Dec-28 at 23:24

            I am reading documentation about use. It is the same as

            ...

            ANSWER

            Answered 2019-Dec-27 at 04:36

            Even if you could load the module like that, you'd have numerous other problems.

            • The module's package directive would have to be package ::home::nickname::dir::SomeModule; for import to be found.
            • You'd have to use ::home::nickname::dir::SomeModule->some_method to call a static method.
            • You'd have to use ::home::nickname::dir::SomeModule::some_sub to call a sub.

            That's obviously the wrong approach.

            For modules installed in a position relative to a script, use the following in the script to tell perl where to look:

            Source https://stackoverflow.com/questions/59494277

            QUESTION

            True stringify of DateTime
            Asked 2017-Aug-02 at 20:20

            ANSWER

            Answered 2017-Aug-02 at 20:20

            You can use "$dt" or "".$o->dt. Like your solution, it's short for

            Source https://stackoverflow.com/questions/45469748

            QUESTION

            Parse DateTime from MySQL database
            Asked 2017-Jul-10 at 20:45

            I'm having issues parsing dates from a MySQL result. I'm certain that it has to do with the value being inside a multi-level hash, but I am not sure where I need to mutate the element to get the desired effect

            ...

            ANSWER

            Answered 2017-Jul-10 at 16:11

            The obvious debugging step would be to print the value of $node->{'status_rec_date'} inside your verify() subroutine. I suspect you'll find that the data isn't what you think it is.

            Looking at the stacktrace in your error message, the outer call is:

            DateTime::Format::DateParse::parse_datetime('DateTime::Format::DateParse', '0000-00-00 00:00:00') called at hosts.pl line 43

            You're passing in "0000-00-00 00:00:00". And that's not a valid date string.

            So it seems the problem is in your database. I'll note that the string you're getting is an invalid date that MySQL seems to like to insert into datetime fields when it doesn't have a valid value - so you might want to look at how that field is populated.

            Source https://stackoverflow.com/questions/45016693

            QUESTION

            Why do I get "Can't locate Sub/Identify.pm in @INC" when I use the DateTime module even though I installed the perl-DateTime RPM?
            Asked 2017-Mar-08 at 18:20

            I am trying to use the module DateTime in CentOS so I installed it like this:

            ...

            ANSWER

            Answered 2017-Mar-08 at 18:20
            TL;DR

            This is why it's a bad idea to mix modules installed via a package manager and via CPAN.

            It looks like you installed DateTime with yum, but DateTime::Locale with CPAN. You can see this by following the dependency chain in your error message:

            Source https://stackoverflow.com/questions/42669024

            QUESTION

            Installing DateTime.pm using CPAN
            Asked 2017-Feb-06 at 06:12

            I'm installing Perl module DateTime using CPAN.

            ...

            ANSWER

            Answered 2017-Feb-06 at 06:12

            It should be installed in a path of the form

            Source https://stackoverflow.com/questions/42061269

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install DateTime.pm

            You can download it from GitHub.

            Support

            The tests in 20infinite.t seem to fail on some machines, particularly on Win32. This appears to be related to Perl's internal handling of IEEE infinity and NaN, and seems to be highly platform/compiler/phase of moon dependent. If you don't plan to use infinite datetimes you can probably ignore this. This will be fixed (perhaps) in future versions.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/houseabsolute/DateTime.pm.git

          • CLI

            gh repo clone houseabsolute/DateTime.pm

          • sshUrl

            git@github.com:houseabsolute/DateTime.pm.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Date Time Utils Libraries

            moment

            by moment

            dayjs

            by iamkun

            date-fns

            by date-fns

            Carbon

            by briannesbitt

            flatpickr

            by flatpickr

            Try Top Libraries by houseabsolute

            pg-pretty

            by houseabsoluteRust

            ubi

            by houseabsoluteRust

            precious

            by houseabsoluteRust

            perl-code-tidyall

            by houseabsolutePHP

            test-class-moose

            by houseabsolutePerl