NR
|
| Posted: 07/31/2002, 7:42 PM |
|
I'm using a CCS 1.0.6 in the trial period and I'm trying to prove to my 'bosses' that they could
replace a few Macromedia and Microsoft tools with CCS.
There is a nasty problem when using dates before 1970 and after 2069 with PHP:
- You can not use them!
The function CCParseDate() uses 'mktime' to parse the date back and this function is limited to work within that interval.
If the parsing date after 'mktime' is less then 0 (what would happen before 1970 and after 2069) CCParseDate() will return an empty string.
The field, control and SQLParameter classes use this function to parse dates.
So, stored and retrieved fields are empty for that interval of dates...
Is it a bug or a feature ?
Any ideas for an easy workaround without having to change CCParseDate() or the classes ?
I only have a few days left in my trial period...
|
|
|
 |
Nicole
|
| Posted: 08/02/2002, 6:30 AM |
|
Hello,
please upgrade to CCS1.0.7, it works fine with date type fields.
"
To install the update download and run the following file: http://www.codecharge.com/download/files/CCStudio1_0.exe
Release Notes are available at http://support.codecharge.com/updates.asp
Please note that this release resets the Trial period to 20
"
Uninstall previous CCS version before installing 1.0.7 to extend trial.
|
|
|
 |
|