Problem of timestamp indicating 1970 instead of 1988

Hello

I'm trying to set the default value in the DateField using the following statement

DateField dateField = new DateField ("birthday:", 567993600, DateField.DATE |) DateField.FIELD_LEFT);

but when I run my application it shows me on January 7, 1970 instead of 1 January 1988.

I checked the time stamp on http://www.onlineconversion.com/unix_time.htm

and it shows me the correct date expected, "Friday, January 1, 1988 00:00:00 GMT"

I'm using the 8900 Simulator and my date time is correct the date of December 31, 2010 date time under folder options.

Kind regards

-gmuhammad

found the solution:

DateField dateField = new DateField ("birthday:", 567993600000L, DateField.DATE |) DateField.FIELD_LEFT);

The DateField uses millisecs while most of the sites on the internet don't use milliseconds. So I add three zeros in the end make a correct timestamp.

Tags: BlackBerry Developers

Similar Questions

  • Problem with battery indicator blackBerry Smartphones

    Hello

    my blackberry torch battery indicator is displayed continuously like a battery empty red even when it is fully charged:

    It is said that the battery level is 1% since last night.

    I tried to recharge as well to the wall and from the PC, the bolt flashes (on the Red battery icon), but the level remains at 1% and the orange light blinks.

    After that what I believe is a sufficient time to fully recharge the battery, a "stopper" replaces the bolt flashing on battery (always red and empty) icon.

    The phone, once unplugged the sector, works perfectly, the only complaint, is that the battery indicator is always red, it says 1%, and the orange light blinks continuously; so I never know when the phone needs to really be recharged.

    Everyone knows the same problem? I don't think that the problem is in the battery, but somewhere in the software... suggestions?

    Thank you

    Hello again,

    I thought I'd give an update I solved the problem! The only solution is to get a new device.

    I tried many things, including not charging the phone at all until the battery really runs. In this case when I plugged it back I thought it worked well as it was very much in charge and the battery became white of empty Red... Unfortunately as soon as I unplugged the charger, the battery indicator is returned empty Red 1%.

    I called my provider ad, they sent me another combined (still a 9800 torch); I put my battery in it, and it works perfectly.

  • Problem starting, after Windows logo instead of home, I get a message saying please wait

    I have windows 7... When I start it after that the windows instead of WELCOME logo comes here PLEASE WAIT...

    I tried too many system repair, but it shows that a portable music player is connected so can't fix but I don't have a portable music player...

    information system - WINDOWS 7 ULTIMATE, RAM 4 GB, MONITOR LG SCREEM, HARD DRIVE - 320 GB...

    Try the last known good configuration:

    Remove all floppy disks, CDs and DVDs from your computer and restart your computer by clicking on the button start , by clicking on the arrow next to the button stop , then clicking on restart.

    1. Do one of the following:
    2. If your computer has a single operating system installed, press and hold the F8 key as your computer restarts. You need to press F8 before the Windows logo appears. If the Windows logo appears, you need to try again by stopping and restarting your computer.

    If your computer has more than one operating system, use the arrow keys to select the operating system you want to start, and then press F8.

    In the Advanced Boot Options screen, use the arrow keys to select last known good Configuration (Advanced), and then press ENTER.

    1. If your computer has multiple operating systems installed, use the arrow keys to select the operating system that you want to start using the last good known Configuration, and then press ENTER. Windows will then resume starting normally.

    Source: http://windows.microsoft.com/en-US/windows7/Using-Last-Known-Good-Configuration

    If this fails to solve your problem, disconnect everything except keyboard, mouse and monitor and then tries to start.

  • Problem with the indicator parallel optimizer

    Hello

    We are working on Oracle 11 g (11.2.0.1.0).

    Result of the query happens if we use the optimizer indicator. It sounds funny. According to the Oracle documentation, indicator optimizer needs only the performance impact.

    If we use the parallel indicator (for example, / * + parallel (6) * /), then we are able to go read the hint in parallel records and if we do not, then we get no line.

    An early response would be sincerely appreciated.

    Thank you and best regards,

    Satya Acharya.

    It could be a bug of "bad results" by an index (which can be used in non parallel execution plan).  You can try to ALTER INDEX index-name STRUCTURE ENTER and ALTER INDEX index-name VALIDATE STRUCTURE CASCADE.  If the Index is corrupted, you will have to drop and CREATE the index (a simple ALTER INDEX REBUILD indexname cannot solve the problem)

    Hemant K Collette

  • problem - AE Render Engine starts instead of full After Effects

    Hi all

    I have a very strange problem that I do not understand how to fix. I am working on Mac OS X 10.9.4 and CS6 Production premium installed. I reinstalled After Effects (using the serial number supplied with the disc) and updated with the patch AfterEffectsTrial - 11.0.4 - mul-AdobeUpdate (I had to update because the original disk was for Mac OS X 10.6.8 or v10.7). And here begins the main story.

    When I opened After Effects at the start of the rendering engine of the effects after instead of the full version, and of course I can only made with that using a watch folder. The same thing happens if I open an AE project directly. Access to the full version of After Effects is therefore lost. But the Adobe After Effects CS6 (674,2 MB) application is visible in the folder/Applications/Adobe After Effects CS6.

    Everyone facing the same problem and solved it successfully?

    Thank you very much in advance for the answers.

    Kirill

    Solved! A file named ae_render_only_node.txt (saying it is machine made only) somehow appeared in the Documents folder. And she was prevented from After Effects to start in its entirety. In fact, this is the file you put there if you want your computer to be just a rendering station.

    Everything was normal after deleting it.

  • Local disk C has the least space, where the Local D drive has much more space: problem is drive C starts instead of because...

    I had to reinstall XP. Before reinstallation, D drive was the drive started on my computer and I have not had any problems with space. Obviously I screwed up letting it keep the partitioned drive or what I had to do at some point, because after reinstalling XP C drive the drive that begins (C has no space and D wants everything as before). Now, I don't have enough space to download programs, I need to work from. In fact, I don't have enough room to do anything! C drive only has 7. something GB on it compared with with 30 0r 32 GB!

    How can I get the D drive and do what is now drive C? Alternatively, I can change somehow D drive where all downloads to go and work from there anyway? I don't know how to change where a download will. Can someone please help me out here because I'm way behind with work; cannot afford professional maintenance COMP.; and have no idea what to do.

    Hello

    You may need to back up important data on the computer and and then format the D; drive to remove all the installation files and creates the disk space.

    Also I suggest you perform a disk cleanup on the computer. To get the procedure you can refer: Description of the tool in Windows XP Disk Cleanup: http://support.microsoft.com/kb/310312

    And uninstall unwanted computer programs, see: remove programs you don't need more: http://www.microsoft.com/windowsxp/using/setup/maintain/removeprog.mspx

  • BlackBerry Smartphones Broadcast Messages indicating black instead to violet / rose

    Since I have BBM upgrade of the color of my broadcast messages are showing in black instead of the usual purple / pink.

    Kazman says:

    Thank you

    The version is 6.0.1.34

    Ok. Enjoy!

  • Timestamp indicating incorrectly in SQL history


    Hello

    SQL Developer version 4.0.0.13, the timestamp was not properly in the historic window of SQL

    SQL for today - January 3, 14 shows with a timestamp of 1 March 14

    Looks like that the day and month have been reversed when formatting.

    Bugs of all sorts of fun it - they were processed for our next patch/version and the developer tells me, on the contrary, the product should be faster and more responsive in this area.

  • Problems crossing timestamp variable block-SQL command not properly ended

    Can you please help me answer or direct me to resources to answer the following.

    I'm trying to pass a timestamp of a block variable but me make mistakes with all the methods I've tried yet.

    The following example tries to generate a list of all the dates of sales for orders after March 21, 2000.

    DECLARE
    BeginDate Orders.PurchaseDate%TYPE: = to_date (March 21, 2000 "," dd-mm-yyyy "");
    Target Orders.PurchaseDate%TYPE;

    BEGIN
    DBMS_OUTPUT. Put_line(to_char (BeginDate));
    SELECT PurchaseDate from separate orders to target WHERE PurchaseDate > BeginDate;
    END;

    When you run it - it returns
    ORA-00933: command not properly ended SQL ORA-06512: line 8
    please notify

    Hello

    I guess you miss a semicolon as a variable binding for the USING keyword.

    BEGIN
     DBMS_OUTPUT.PUT_LINE(to_char(BeginDate,'DD.MM.YYYY'));
     sql1 = 'SELECT MAX(PurchaseDate) INTO Target from Orders WHERE PurchaseDate> :var_date';
     Execute Immediate sql1 Using BeginDate;
     DBMS_OUTPUT.PUT_LINE(to_char(Target,'DD.MM.YYYY'));
    END;
    

    You can also check out the links below:
    http://download.Oracle.com/docs/CD/B10500_01/AppDev.920/a96624/11_dynam.htm#13131
    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14261/executeimmediate_statement.htm

    HTH,
    Thierry

  • Windows 7 power indicator problem

    Hello... I have a problem with my windows 7, whenever I use it for a long time and then it off via the start menu, the power light is still on and I hear again the fan running despite the display saying it is turned off and then blacj. In order to close it completely, I need to hold the power button and I know it will be bad for my laptop if I still force closure with button / stop. Curiously, it doesn't happen when I use my laptop for a long time, perhaps more than an hour... But if I use my laptop for a few minutes, there is no problem with power indicator. Can someone help me with this please?

    P.S. I am a newbie in this then I would be happy if you could explain it in the easy way

    Hello

    I would like to know some information about the problem so that we can help you better.

    What is the brand and model of your computer?

    Thank you for details on the issue.

    I also know that the inconvenience that you are experiencing due to shutdown of Windows problem. I will definitely help you.

    This problem may occur because of corrupted or incorrect power settings.

    I would suggest trying the following methods and check if it helps.

    Method 1:
    Run troubleshooting of power utility and check.
    Reference:
    Open the troubleshooter of power

    http://Windows.Microsoft.com/en-us/Windows7/open-the-power-Troubleshooter

    It checks things like settings timeout of your computer, which determines how long the computer waits before turning off the display or enter the mode 'sleep'. These settings can help you save energy and extend the life of the battery in your computer.

    If this does not help, use method 2.

    Method 2:
    Create a new power plan and check the issue.
    Reference:
    Change, create, or delete a power plan (scheme)

    http://Windows.Microsoft.com/en-us/Windows/change-create-delete-power-plan-scheme#1TC=Windows-7

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • IMAQdx request: error on AVT Prosilica Timestamp

    Hello

    I use IMAQdx drivers to control a device called 'AlliedVisionTechnology Prosilica GE 680 C' with LabVIEW2015 64 bit. I used a lot of examples OR to build my application, which is mostly OK. But I still have a problem with timestamps.

    -J' followed the instructions from this link to get the timestamp: http://digital.ni.com/public.nsf/allkb/D0488009D5AC87CF862579BA007B5F9B

    -J' have the TimeStampFrequency, which is about 80 MHz (79 861 111 Hz)

    -With the document of the TRA, I'm sure my camera can give its own timestamp: http://www.stemmer-imaging.co.uk/media/uploads/docmanager/69115-AVT_Prosilica_Image_Timestamp.pdf

    "This timestamp is attributed initially to exposure of the image"

    -J' put 'ReceiveTimeStampMode' to None, TickCount, and SystemTime. When I set it to zero, I do not have a (normal) timestamp, and I see a clear difference in the data when I updated TickCount or SystemTime (this setting ' works'). It is located at TickCount.

    Here's my problem: By the "IMAQdx" sequence, I get several pictures of my watch for 30 seconds, 200 fps. Images are OK as the frameRate and total time. But when I check the timestamps, there is an error. To get consistent data, I have to divide my timestamps (U64) by around 2.2 Mhz (determined experimentally), instead of 80 Mhz of "TimeStampFrequency".

    I searched the internet and I contacted the AVT support (support is provided by a third party company). They just told me that it was not possible with LabVIEW to get these timestamps, but to be honest I don't really trust them...

    If someone has an idea to help me, it will be really appreciated!

    Best regards, Julian

    Hello

    Looking for "IMAQdxTimestampLow/High" to provide real timestamps of the camera.

    I dug into it a bit and it seems that there was a bug introduced in recent version of IMAQdx who broke these timestamps for GigE Vision Windows cameras when _not_ using the high-performance driver. This matter is under internal CAR #552283. This should hopefully corrected quickly.

    For workaround solutions, you can try several things:

    -Upgrade to a version of IMAQdx 2014

    -Use an Intel compatible network card and install the driver for high performance of OR

    -If the camera supports sending timestamps as song data, enable this feature and it will appear as a meta-data under another name

    Eric

  • Upgrade to 3.6.15. Now my Add ons (1 password, Download Helper, Multi line Bookmark Toolbar) disappeared. Everyone knows about this problem? Any ideas on how to solve this problem? Thank you.

    Upgrade to 3.6.15. Now my Add ons (1 password, Download Helper, Multi line Bookmark Toolbar) disappeared. Everyone knows about this problem? Any ideas on how to solve this problem? Thank you.

    There may be a problem with one of the files which stores details of the installed extensions. Try to delete these files as described in the section "Corrupt extension files" of this link - https://support.mozilla.com/kb/Unable+to+install+add-ons

    Although this article is not specifically about your problem, the method indicated in the corrupted files extension section can help. When you restart Firefox after you delete these files, the list of installed extensions is rebuilt and cela hopefully solve your problem.

  • Satellite L755-16J - problem with sound card

    I currently own a Toshiba * Satellite L755-16J * and is having some kind of trouble with the sound card, I think.

    When I bought it, it came with windows 7, I changed the Windows of windows 8 and since then the audio has been trouble me.

    The internal speakers work for a minute or two, when I play an audio file, but then stop working.
    I had been using a usb external sound card and external speakers for some time but decided to the switchback to windows 7 for the sound working again. even if I went to win 7, the sound still doesn't work.

    I am sure that the problem is not in the internal speakers because they do not work, even if it's just for a brief moment, but they work, so I think the problem is in the software instead of hardware.

    I tried to update the audio drivers but they seem to be updated as windows, pilots 'seem to work properly.

    Can anyone help?

    > even if I spent back for win 7, the sound still doesn't work.

    How did you do that?
    Have you used the Toshiba Recovery disk in order to install Win 7 or have you installed Windows 7 using the Windows 7 clean and fresh hot?

    The laptop supports the Conexant audio chip. The audio driver is available on the page of the Toshiba UE driver and where the sound chip is already recognized in Device Manager after installing the audio driver, I assume that the driver has been installed correctly.

    In this case I recommend you plug in a headset.
    In case the headset should work fine, the speakers could be affected. I mean the material. But of course it s just an idea.

    Next to the audit of the helmet, you can also check the settings in the Panel of-> sound-> the Read tab.
    Usually, the speakers should be set as default device.
    Check this option too.

  • Incorrect timestamps

    Hello friends,

    I have a problem with timestamps.

    I gain 12 temperature signals and store them in a spreadsheet at intervals of 3 sec.

    However, before that I spend on recording, I observe if the temperature signals have reached a

    quasi stationary value. Therefore, I use a box structure.

    If I directly start recording without the first observation of the signals, I acquire data at intervals of 3 seconds exactly.

    However, if I first observe and then move to the record then I get unwanted intermediate measures.

    Can someone tell me whats wrong with my code?

    Thank you and best regards,

    Chirag


  • Problem with F4280 all-in-one to scan / Vista

    Document scanning or the picture comes out as a total black page. Has been no change before problem appeared.

    Best regards

    Sossou

    Hi Schouw,

    Looks like it could be the scanner bulb or the material.  Please try the following steps:

    1 make a copy black & white of any document you have handy. Keep a close eye on the print, if you see the machine starts printing a large band of black on the page, and then press the button "Cancel" (red X) to stop printing.  In this case, it is the material.

    In an attempt to adjust the equipment, please follow: lines or streaks in the Copies or Scans

    If this does not work, you will have to HP to find out what your phone options: http://welcome.hp.com/country/w1/en/support.html

    However, if the copy is ok, then could be a software problem. Please try this instead: http://support.hp.com/us-en/document/c00040499

Maybe you are looking for