Announcement

Collapse
No announcement yet.

Import: Y-Groups - Time Zone question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Import: Y-Groups - Time Zone question

    Hello Katrina,

    Thank you for the clarification. You will need to check against the date and then change the start and end times appropriately, if the basis is going to be UTC.

    Our EFS Specialist, Jason K., offers the method of using getHour(), getMinute() and getSecond() which will return the time for each bar in the chart. If the start time for each market is the same all year round, then check the bar time to see if it is greater than your preferred start time.

    FYI, I have posted this thread to our EFS Studies group on eSignal Central in hopes that others will benefit if they have similar questions.

    Regards,
    Jay F.
    eSignal Community Support

    Imported from YahooGroups eSignal forum....
    From: Katrina
    Sent: Monday, March 03, 2003 7:40 PM
    To: [email protected]
    Subject: [eSignal] Re: Time Zone question


    Hello Jay,

    Thanks for taking the time to reply. Those answers are pretty
    much the same as the descriptions in the reference files. In fact, I
    think he just used cut and paste. Maybe I can simplify this
    question: If I write a line of code that basically says (if UTC >=
    14:30 and UTC <= 21:00 then vTrade=vYES) will that work all year
    round? Or do I have to write a routine that says:

    If it is between the first week in April and the third week in
    October, then check to see if UTC is between 13:30 and 20:00.
    Otherwise check to see if UTC is between 14:30 and 21:00?

    Take a look at this chart:
    http://greenwichmeantime.com/info/timezone-summer.htm

    You can see that during the American summer, New York is GMT-4,
    and during the winter it is GMT-5.

    Can you see what I am asking?

    Thanks,
    Katrina.

    -----Original Message-----
    From: Frank, Jay
    Sent: Monday, March 03, 2003 10:06 AM
    To: '[email protected]'
    Subject: RE: [eSignal] Time Zone question


    Hello Katrina,

    Please see below comments (from our EFS Specialist) in blue for answers to your questions.

    Regards,
    Jay


    -----Original Message-----
    From: Katrina

    I guess my questions can be summarised as:

    1. What would the time be from getUTCDate during that week in October?

    The value returned by getUTCDate() won't be affected.
    getUTCDate() - Returns the day of the month of the date object according to UTC
    getUTCDate() returns a value between 1 and 31.
    var today = new Date();
    var sDate = "The Date is:" + today.getUTCDate();


    2. What would getTimeZoneOffset return in Colorado and England during that
    week?

    The value returned by getTimeZoneOffset() will change because of the change in the local time.

    getTimezoneOffset() - Returns the time zone offset between local time and GMT. Returns the difference in minutes between the time on the local machine and UTC. This number will be positive if you are behind UTC (e.g., Pacific Daylight Time), and negative if you are ahead of UTC (e.g., Japan).

    For example, suppose a server in New York City is contacted by a client in Los Angeles on December 1. getTimezoneOffset returns 480 if executed on the client, or 300 if executed on the server.

    Regards,
    Jay F.
    Product Manager
    _____________________________________
    Have a suggestion to improve our products?
    Click Support --> Request a Feature in eSignal 11
Working...
X