Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

message.getCreationTime() is 0
 Post subject: message.getCreationTime() is 0 Post rating: 0   New post Posted: Tue 01 Feb, 2011, 13:29 

User rating: 0
Joined: Tue 18 Jan, 2011, 17:13
Posts: 2
Hi,

when I use message.getCreationTime() for a calendar message from the past (eg from one month ago), the time returned is incorrect (it shows up as 0), although the events displayed are correct for whichever date I choose. I am not sure why that is. I am not exactly good at java so I may have had a silly mistake somewhere.

The code I am using is attached. I am using API version 2.6.33.


Attachments:
NewsTest.java [2.02 KiB]
Downloaded 334 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: message.getCreationTime() is 0 Post rating: 0   New post Posted: Fri 10 Jun, 2011, 12:18 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
could you please provide the news filter that you used?


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com