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.

thanks :)




--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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 overflow for dates beyond
those years. This library overcomes these limitations by replacing the
native function's signed integers (normally 32-bits) with PHP floating
point numbers (normally 64-bits)."

I used it for non-cake project and it works. You can use dates from
100 A.D. to 3000 A.D!



On Aug 28, 1:09 pm, ivancasta <[EMAIL PROTECTED]> wrote:
> 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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---