ezdate

Summary

Contains information about a date.

Persistent

No.

Attributes

Attribute

Type

Static*

Description

timestamp

string

Yes.

The date as a UNIX timestamp (for example "567990000") if the date is a valid date, NULL otherwise.

is_valid

boolean

Yes.

Returns TRUE if the date is a valid date, FALSE otherwise.

year

string

No.

The year (for example "1988").

month

string

No.

The month (for example "01").

day

string

No.

The day (for example "01").

* Indicates whether the attribute provides a pre-fetched value or if it needs to be computed upon request.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.