JE::Object::Date(3pm)

JE::Object::Date3pm

Javascript date object class

Usage

  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

Overview

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'.

Releases

7 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8
  3. 9–10
  4. 11
  5. 12
  6. 13

From libje-perl 0.066-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.