Share » Forums » Developer » attribute of type Date

attribute of type Date

attribute of type Date

Thursday 26 June 2008 5:44:16 am - 2 replies

Author Message

Laurent BOURREL

Thursday 26 June 2008 6:49:08 am

Hi,

This is a normal feature of the date attribute. the storage is based on a unix timestamp. As you can see in http://ez.no/doc/ez_publish/technical_manual/4_0/reference/datatypes/date : "The valid input range is 01.01.1970 - 19.01.2038."

So it's a problem for a birthday date for example...

If you really need a Date to store your attribute (ie you need some date formats or transformations in your templates), you should have a look to the birthday datatype :
http://ez.no/developer/contribs/datatypes/birthday_datatype. i don't know if it's ok for the last eZ versions...

anne martinet

Friday 27 June 2008 2:07:41 am

oki ;)

thanks a lot!

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu