Time Zone

5 messages Options
Embed this post
Permalink
ofer yoshiahu

Time Zone

Reply Threaded More More options
Print post
Permalink
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/



Hi,

I configured timezone in the settings.cfg file, but all the messages that i send and receive are converted to UTC, but i need to work in US/Central CDT timezone. Can you help?

This is my configuration:

StartTime=17:30:00 US/Central
EndTime=16:00:00 US/Central
StartDay=Sunday
EndDay=Friday
HeartBtInt=30
TimeZone=US/Central


Thanks, ofer

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Grant Birchmeier

Re: Time Zone

Reply Threaded More More options
Print post
Permalink
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


I think you need to take the time zone off the StartTime/EndTime settings, e.g.:
StartTime=17:30:00
EndTime=16:00:00

The TimeZone setting that you have looks correct.

-Grant


On Mon, Aug 24, 2009 at 8:36 AM, ofer yoshiahu<[hidden email]> wrote:

> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
>
>
>
> Hi,
>
> I configured timezone in the settings.cfg file, but all the messages that i send and receive are converted to UTC, but i need to work in US/Central CDT timezone. Can you help?
>
> This is my configuration:
>
> StartTime=17:30:00 US/Central
> EndTime=16:00:00 US/Central
> StartDay=Sunday
> EndDay=Friday
> HeartBtInt=30
> TimeZone=US/Central
>
>
> Thanks, ofer
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Quickfixj-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
ofer yoshiahu

Re: Time Zone

Reply Threaded More More options
Print post
Permalink
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/



It doesn't help. All the message that i get or send are in UTC time.

By looking at the code i see that the createDateFormat of AbstractDateTimeConverter is using UTC hard coded.

How can i bypass it and work US/Central?

Thanks, ofer


On Mon, Aug 24, 2009 at 5:05 PM, Grant Birchmeier <[hidden email]> wrote:
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J
Support: http://www.quickfixj.org/support/


I think you need to take the time zone off the StartTime/EndTime settings, e.g.:
StartTime=17:30:00
EndTime=16:00:00

The TimeZone setting that you have looks correct.

-Grant


On Mon, Aug 24, 2009 at 8:36 AM, ofer yoshiahu<[hidden email]> wrote:
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
>
>
>
> Hi,
>
> I configured timezone in the settings.cfg file, but all the messages that i send and receive are converted to UTC, but i need to work in US/Central CDT timezone. Can you help?
>
> This is my configuration:
>
> StartTime=17:30:00 US/Central
> EndTime=16:00:00 US/Central
> StartDay=Sunday
> EndDay=Friday
> HeartBtInt=30
> TimeZone=US/Central
>
>
> Thanks, ofer
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Quickfixj-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Tommy H

Re: Time Zone

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/



Ofer,

By definition, most times in FIX messages are in UTC.  This is so all parties are working off the same reference.  You should convert these time fields to your desired timezone after "getting" them from the message.

-Tommy

On Aug 24, 2009, at 9:50 AM, ofer yoshiahu wrote:

QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


It doesn't help. All the message that i get or send are in UTC time.

By looking at the code i see that the createDateFormat of AbstractDateTimeConverter is using UTC hard coded.

How can i bypass it and work US/Central?

Thanks, ofer


On Mon, Aug 24, 2009 at 5:05 PM, Grant Birchmeier <[hidden email]> wrote:
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J
Support: http://www.quickfixj.org/support/


I think you need to take the time zone off the StartTime/EndTime settings, e.g.:
StartTime=17:30:00
EndTime=16:00:00

The TimeZone setting that you have looks correct.

-Grant


On Mon, Aug 24, 2009 at 8:36 AM, ofer yoshiahu<[hidden email]> wrote:
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
>
>
>
> Hi,
>
> I configured timezone in the settings.cfg file, but all the messages that i send and receive are converted to UTC, but i need to work in US/Central CDT timezone. Can you help?
>
> This is my configuration:
>
> StartTime=17:30:00 US/Central
> EndTime=16:00:00 US/Central
> StartDay=Sunday
> EndDay=Friday
> HeartBtInt=30
> TimeZone=US/Central
>
>
> Thanks, ofer
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Quickfixj-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Grant Birchmeier

Re: Time Zone

Reply Threaded More More options
Print post
Permalink
In reply to this post by ofer yoshiahu
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


I misinterpreted your problem.  I think what you want is against FIX,
and thus QF/J does not support it.

You may want to check the FIX spec to confirm, but from my brief
browsing it looks like FIX time fields are specified to be in UTC.
The QF/J TimeZone setting is only used for converting
StartTime/EndTime to the proper UTC time.

-Grant


On Mon, Aug 24, 2009 at 9:50 AM, ofer yoshiahu<[hidden email]> wrote:

> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
>
>
>
> It doesn't help. All the message that i get or send are in UTC time.
>
> By looking at the code i see that the createDateFormat of AbstractDateTimeConverter is using UTC hard coded.
>
> How can i bypass it and work US/Central?
>
> Thanks, ofer
>
>
> On Mon, Aug 24, 2009 at 5:05 PM, Grant Birchmeier <[hidden email]> wrote:
>>
>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
>> QuickFIX/J Support: http://www.quickfixj.org/support/
>>
>>
>> I think you need to take the time zone off the StartTime/EndTime settings, e.g.:
>> StartTime=17:30:00
>> EndTime=16:00:00
>>
>> The TimeZone setting that you have looks correct.
>>
>> -Grant
>>
>>
>> On Mon, Aug 24, 2009 at 8:36 AM, ofer yoshiahu<[hidden email]> wrote:
>> > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
>> > QuickFIX/J Support: http://www.quickfixj.org/support/
>> >
>> >
>> >
>> > Hi,
>> >
>> > I configured timezone in the settings.cfg file, but all the messages that i send and receive are converted to UTC, but i need to work in US/Central CDT timezone. Can you help?
>> >
>> > This is my configuration:
>> >
>> > StartTime=17:30:00 US/Central
>> > EndTime=16:00:00 US/Central
>> > StartDay=Sunday
>> > EndDay=Friday
>> > HeartBtInt=30
>> > TimeZone=US/Central
>> >
>> >
>> > Thanks, ofer
>> >
>> > ------------------------------------------------------------------------------
>> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> > trial. Simplify your report design, integration and deployment - and focus on
>> > what you do best, core application coding. Discover what's new with
>> > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> > _______________________________________________
>> > Quickfixj-users mailing list
>> > [hidden email]
>> > https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>> >
>> >
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Quickfixj-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Quickfixj-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users