Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: "Date Created" wrongly stays "1969"

  1. #1
    cmarkovsky is offline Junior Member
    Join Date
    May 2008
    Posts
    2

    Default "Date Created" wrongly stays "1969"

    I would really appreciate help if anyone has it! I am using the Open Source version of SugarCRM and when we are putting in our leads the "Date Created" field wrongly remains at 12-31-1969. Even if I manually punch in the correct date, once I hit "Save" it reverts back to the 1969 date. Can anyone help me with this problem? Thank you very much!

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: "Date Created" wrongly stays "1969"

    Very nice

    Which locale settings do you have in Sugar ?
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  3. #3
    cmarkovsky is offline Junior Member
    Join Date
    May 2008
    Posts
    2

    Default Re: "Date Created" wrongly stays "1969"

    Thank you so much for replying! To be honest with you, I am not technically savvy at all - we're a start up company and as the marketing person, I ended up wearing the IT hat. So, I'm unclear as to what you mean by "locale settings" and where I can find those. So you know how we're using SugarCRM, check out our website (www.platinumvirtual.com) and see the two buckets on the right side ("Virtual Assistant" and "Business Owner"). On those two pages we have custom forms and when someone fills out those forms they go directly into our CRM as leads. What's interesting is that if someone were to fill out the form on our site, when it goes into the CRM it has the correct date. It's just when I (or any of my team members) wants to put in a lead manually via the CRM (not our website) that it comes up with the 12-31-1969 date. Any suggestions you may have would be super helpful - although I'll need to be guided through anything step by step! Thank you!

  4. #4
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: "Date Created" wrongly stays "1969"

    Ok, no problem, if you look to "MyAccount" you will see a section calles "Locale Settings", just as mine which I attached as a hardcopy here.

    How does this look in your environment?
    Attached Images Attached Images  
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  5. #5
    Stratton is offline Sugar Community Member
    Join Date
    Oct 2007
    Posts
    29

    Default Re: "Date Created" wrongly stays "1969"

    I'm experiencing the exact same problem. Any ideas what could cause this? I just upgraded a new installation to the latest patch for 5.0 (5.0.0f). I also tried to manually correct it, but doesn't work. I think my locale settings are fine:
    Attached Images Attached Images  
    Last edited by Stratton; 2008-07-10 at 06:41 PM.

  6. #6
    stevec is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    London
    Posts
    1,100

    Default Re: "Date Created" wrongly stays "1969"

    Hi,

    I'm afraid it's not a solution - just an explanation. The date 1969-12-31 is probably a timezone/daylight saving converted version of the date 1970-01-01 in the sugar database. Datetimes are processed by sugar in Unix timestamp formats - and 1970-01-01 is the datetime representation of the value '0'.

    Somewhere along the line, the system is having problems interpreting the value imported/entered and is defaulting it to nothing.

  7. #7
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: "Date Created" wrongly stays "1969"

    Quote Originally Posted by cmarkovsky
    Thank you so much for replying! To be honest with you, I am not technically savvy at all - we're a start up company and as the marketing person, I ended up wearing the IT hat. So, I'm unclear as to what you mean by "locale settings" and where I can find those. So you know how we're using SugarCRM, check out our website (www.platinumvirtual.com) and see the two buckets on the right side ("Virtual Assistant" and "Business Owner"). On those two pages we have custom forms and when someone fills out those forms they go directly into our CRM as leads. What's interesting is that if someone were to fill out the form on our site, when it goes into the CRM it has the correct date. It's just when I (or any of my team members) wants to put in a lead manually via the CRM (not our website) that it comes up with the 12-31-1969 date. Any suggestions you may have would be super helpful - although I'll need to be guided through anything step by step! Thank you!
    The differences between insertion from form or manually on CRM makes me think that your Server's date is 12-31-1969...
    What do you think the cookie monster eats ?

  8. #8
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: "Date Created" wrongly stays "1969"

    Ok,
    I tried to import from a csv and mySQL give all records 01-01-1970 as creation date. So what I said in my previous post about your server's date is partly wrong and partly ok: it just means that in your mysql the earliest date is 12-31-1969.
    What do you think the cookie monster eats ?

  9. #9
    Stratton is offline Sugar Community Member
    Join Date
    Oct 2007
    Posts
    29

    Default Re: "Date Created" wrongly stays "1969"

    Well, I checked the server date, and it appears to be correct:
    Fri Jul 11 13:21:59 EDT 2008

    Do you think Sugar is the problem or MySQL?

  10. #10
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: "Date Created" wrongly stays "1969"

    Quote Originally Posted by cmarkovsky
    I would really appreciate help if anyone has it! I am using the Open Source version of SugarCRM and when we are putting in our leads the "Date Created" field wrongly remains at 12-31-1969. Even if I manually punch in the correct date, once I hit "Save" it reverts back to the 1969 date. Can anyone help me with this problem? Thank you very much!
    If you have the date created field on your EditView then that's the problem. That field is special and cannot (it can but it shouldn't) be added to the Editview as any day put in there will be treated differently from other dates, it's hard coded. What is happening is that the system is trying to convert the date to GMT and it cannot because the date is entered in whatever date/time format you have chosen and it is expecting it to be in the default system format (mysql format if you will). If you remove the date Created field from the EditView it should go back to working.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 2008-05-19, 06:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •