|
|||||||
| Feedback Site or Forum problems? suggestions? |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
HardwareHeaven Senior Member
|
Problems with DH
I noticed that my birthdate was wrong. Went to change it to June 10 1965 but it has that date there allready but when you check my profile it say December 31, 1969. Not a big issue but needs to be looked into could be causeing other issues.
|
|
|
|
|
|
#2 |
|
Custom User Title
|
I think it's a vBulletin bug.
|
|
|
|
|
|
|
|
HardwareHeaven Senior Member
|
Cool, I justed wanted to bring it to your attention just in case it causes any other issues.
|
|
|
|
|
|
#4 |
|
HH Administrator
|
yeah, it's the year that does it, if i've set it to just June 10 and it works fine, but a year older than i think 69 and it defaults to dec31'69 strange.
|
|
|
|
|
|
|
|
HardwareHeaven Senior Member
|
Atleat I was 4 years younger not older hehe!!
|
|
|
|
|
|
#6 |
|
Yarr... I be blind!
Join Date: May 2002
Location: Calgary, Canada
Posts: 3,191
Rep Power: 80 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I *believe* it is due to the fact that the birthday field in the database is set to UNSIGNED INT, therefore not allowing a value below 0, which is 12:00AM Jan 1st, 1970. With timezone differences, it may show Dec. 31st 1969.
I'll look into maybe changing the DB field type.
__________________
|
|
|
|
|
|
|
|
HardwareHeaven Senior Member
|
I think I found the prob
Actually, it's a limit of how the date() function works on certain systems. Breaks in Windows as well. Times less than Jan 1, 1970 will be negative relative to the epoch, and some OS's don't handle that. Here a link on vBulletin forum explain everthing click here I would have posted code here but when i do it diplays wrong . I would backup the page first its better to be safe then sorry. |
|
|
|
|
|
#8 |
|
Yarr... I be blind!
Join Date: May 2002
Location: Calgary, Canada
Posts: 3,191
Rep Power: 80 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Interesting, I knew of the issue with Windows systems, since we aren't running Windows, I assumed it was a database thing.
__________________
|
|
|
|
![]() |
| Thread Tools | |
|
|