logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

AAT::Datetime - AAT Datetime module

Author

       Sebastien Thebert <octo.devel@gmail.com>

perl v5.22.2                                       2016-05-04                                   AAT::Datetime(3)

Functions

Month_Name($month)
       Get the Month Name

       Parameters:
        $month - Integer value of Month

       Returns:
        $month_name - String value of Month

   Month_Nb_Days($year,$month)
       Get the number of days in specified month

       Parameters:
        $year - year
        $month - month

       Returns:
        $daysinmonth - Number of days

   Delta
       Returns Delta in minutes between 2 dates

   Seconds_Since_1970($year,$month,$day,$hour,$min)
       Returns number of seconds since 1970

   WeekDay($year,$month,$day)
       Get the Day of Week (1 for Monday, 7 for Sunday)

       Parameters:
        $year - year
        $month - month
        $day - day

       Returns:
        $dayofweek - Day of Week

   WeekDay_Name($wday)
       Get the Day of Week

       Parameters:
        $wday - Integer value of Day of Week

       Returns:
        $weekday_name - String value of Day of Week

   YearWeek($year,$month,$day)
       Get the Week of the Year

   Current_Day()
       Returns an Array of 2 hashrefs with the Begin & End of the Day

   Current_Hour()
       Returns an Array of 2 hashrefs with the Begin & End of the Hour

   Current_Month()
       Returns an Array of 2 hashrefs with the Begin & End of the Month

   Current_Week()
       Returns an Array of 2 hashrefs with the Begin & End of the Week

   Current_Year()
       Returns an Array of 2 hashrefs with the Begin & End of the Year

   Last_Day()
       Returns an Array of 2 hashrefs with the Begin & End of the Last/Previous Day

   Last_Hour()
       Returns an Array of 2 hashrefs with the Begin & End of the Last/Previous Hour

   Last_Month()
       Returns an Array of 2 hashrefs with the Begin & End of the Last/Previous Month

   Last_Week()
       Returns an Array of 2 hashrefs with the Begin & End of the Last/Previous Week

   Last_Year()
       Returns an Array of 2 hashrefs with the Begin & End of the Last/Previous Year

Name

       AAT::Datetime - AAT Datetime module

See Also