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

Sympa::Tools::Time - Time-related functions

Description

       This package provides some time-related functions.

   Functions
       date_conv ( $arg )
           Function.  TBD.

       duration_conv ( $arg, [ $startdate ] )
           Function.  TBD.

       epoch_conv ( $arg )
           Function.  Converts a human format date into an Unix time.  TBD.

       get_midnight_time ( $time )
           Function.  Returns the Unix time corresponding to the last midnight before date given as argument.

       gettimeofday ( )
           Function.  Returns an array "(second, microsecond)" of current Unix time.

           If the system does not have gettimeofday(2) system call, this function emulates it.

History

       Sympa::Tools::Time appeared on Sympa 6.2a.37.

       gettimeofday() function was introduced on Sympa 6.2.10.

6.2.76                                             2025-02-12                         Sympa::Tools::Time(3Sympa)

Name

       Sympa::Tools::Time - Time-related functions

See Also