ibexa

Path

ez publish / technical manual / 4.x / reference / objects / ezdatetime


Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

ezdatetime

Summary

Contains information about a date and time.

Persistent

No.

Attributes

Attribute

Type

Static*

Description

timestamp

string

Yes.

The date/time value as a UNIX timestamp (for example "1147719660") if the date/time is valid.

hour

string

No.

The hour (for example "21").

minute

string

No.

The minute (for example "01").

year

string

No.

The year (for example "2006").

month

string

No.

The month (for example "05").

day

string

No.

The day (for example "15").

is_valid

boolean

Yes.

Returns TRUE if the date/time value is valid, FALSE otherwise.

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

Balazs Halasy (12/03/2005 5:28 pm)

Svitlana Shatokhina (09/02/2007 3:22 pm)

Balazs Halasy, Svitlana Shatokhina


Comments

There are no comments.