LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Date outside displayable range for brdviewer, displaying # of msecs since EPOC.

    Employee
    Posted 01-17-2013 17:42

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: StuartOboler

    Hi,
    I get the following error when converting dates in my data.
    Date outside displayable range for brdviewer, displaying # of msecs since EPOC.
    The dates in question are midnight 01 January 1900.

    Below is an example of the problem in brainscript.
    a = "01/01/1900 00:00:00"
    b = a.split(" ")
    datePart = b.getItem(0)
    timePart = b.getItem(1)
    dateInDateType = datePart.date("D/M/CCYY")
    timeInTimeType = timePart.time("H:M:S")
    dateAndTimeInTimeStampFormat = timestamp(dateInDateType, timeInTimeType)
    emit dateInDateType, timeInTimeType, dateAndTimeInTimeStampFormat


    Is there any way to handle this that doesn't involve spitting the date and time into two separate fields?

    Thanks,
    Stuart


  • 2.  RE: Date outside displayable range for brdviewer, displaying # of msecs since EPOC.

    Employee
    Posted 01-17-2013 19:03

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: stonysmith

    Can I assume that you're in some time zone other than GMT?

    The message you got is a problem with the BRD viewer, not with the data inside of the the LAE. The timestamp you built is valid, but when the BRDviewer tries to display it, it is trying to display it in your local time zone. For anyone west of the GMT time zone (US users), that means that the BRDviewer subtracts a few hours from the value, and then it hits this error because it's trying to display a time before 1/1/1900

    This is a known "feature" of the BRDviewer - it attempts to display timestamp data in your local time zone.


  • 3.  RE: Date outside displayable range for brdviewer, displaying # of msecs since EPOC.

    Employee
    Posted 01-18-2013 14:53

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: StuartOboler

    I'm in Melbourne, Australia. GMT +10.


  • 4.  RE: Date outside displayable range for brdviewer, displaying # of msecs since EPOC.

    Employee
    Posted 01-25-2013 13:57

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: rboccuzzi

    So just to follow up, Stuart, it isn't because you are in Melbourne! We like Melbourne and our software has nothing specific against Melbourne :-).

    I looked into this, and there is a Windows only bug (so this works fine with our Linux and Solaris servers), where time stamps before 1970 can be off an hour. It has been filed as PR4682.

    Cheers
    Rich