Skip to Content
author's profile photo Former Member
Former Member

Problem in setting a Model Attribute of type Time

Hi,

I have two model attributes of type time(I mean corresponding structure R/3 fields are of type time).

I do

wdContext.currentModel1().setTime(wdContext.currentModel2.getTime);

Till yesterday, this was working fine.

Today it assigns a "time+GMT Offset" to the Model1 timefield. (Yesterday it Model1.getTime gave 15:30:00

Today its gives 23:30:00, I am in Singapore 8+ time zone).

Any ideas why this is happening. And any solutions to prevent this. Also what are the places where we need to correct the time zones if any?

Regards,

Shubham

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 24, 2005 at 06:13 AM

    I believe you are retrieving time from the R/3. I feel that some one has made changes in the R/3.

    Please check

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 24, 2005 at 06:30 AM

    Hi,

    Jus a suggestion.. set your local pc time to GMT...and check the session locale.,.,.

    <b>Did u try this suggestion ? :)</b>

    Message was edited by: Bharathwaj R

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.