XAO::DO::Web::Date - XAO::Web date dysplayable object
<%Date%> <%Date gmtime="123456789" style="short"%> <%Date format="%H:%M"%> <%Date gmtime="123456789" timezone="US/Eastern"%>
Displays current or given date. Arguments are:
Number of seconds since the Epoch (unix standard time). Optional, default is to display the current time.
Display according to one of internal styles:
dateonly => %m/%d/%Y => 3/27/2002 short => %H:%M:%S %m/%d/%Y => 12:23:34 3/27/2002 timeonly => %H:%M:%S => 12:23:34
Set custom format according to strftime C function API.
May contain a name of a time zone, which must be known to the system. Default is the default system timezone.
No publicly available methods except overriden display().
Nothing.
Copyright (c) 2005 Andrew Maltsev
Copyright (c) 2001-2004 Andrew Maltsev, XAO Inc.
<am@ejelta.com> -- http://ejelta.com/xao/
Recommended reading: XAO::Web, XAO::DO::Web::Page.
To install XAO::Web, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XAO::Web
CPAN shell
perl -MCPAN -e shell install XAO::Web
For more information on module installation, please visit the detailed CPAN module installation guide.