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

JE::Object::Date - JavaScript Date object class

Description

       This class implements JavaScript Date objects for JE.

Methods

       See JE::Types and JE::Object for descriptions of most of the methods.  Only what is specific to
       JE::Object::Date is explained here.

       value
           Returns the date as the number of seconds since the epoch, with up to three decimal places.

       class
           Returns the string 'Date'.

Name

       JE::Object::Date - JavaScript Date object class

See Also

       JE, JE::Types, JE::Object

perl v5.36.0                                       2023-08-25                              JE::Object::Date(3pm)

Synopsis

         use JE;

         $j = new JE;

         $js_date = new JE::Object::Date $j;

         $js_date->value; # 1174886940.466
         "$js_date";      # Sun Mar 25 22:29:00 2007 -0700

See Also