Re: problem with date() and $form-input() when type = date

2007-08-29 Thread ivancasta
thanks dragonl. but i think that this problem shuld be solved in cakephp libs. cakephp should have any way to solve this. if there is no way, i try with other librarys. i`ll see the yours but i think this is a commom problem and is strange that i cant do bithrday select with date prior to 1970.

Re: problem with date() and $form-input() when type = date

2007-08-28 Thread ivancasta
i forgot say the warning only apperar when the birthday stored is prior to 1970 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To

problem with date() and $form-input() when type = date

2007-08-28 Thread ivancasta
hi all: i use cakephp 1.2.0.5427alpha i want to do a simply select tags to the user in my register page submit the day of birthday. this selects tags are created by cakephp automatically when a use the $form-input('model.field',array('type'='date')) in the database the birthday field is

Re: problem with date() and $form-input() when type = date

2007-08-28 Thread DragonI
Here's something you should look at ADOdb Date Time Library, http://phplens.com/phpeverywhere/adodb_date_library. PHP native date functions use integer timestamps for computations. Because of this, dates are restricted to the years 1901-2038 on Unix and 1970-2038 on Windows due to integer