B4J Question Incorrect Time

Discussion in 'B4J Questions' started by micro, May 13, 2015.

  1. micro

    micro Well-Known Member Licensed User

    Hi to all
    Why on the PC the Time is correct (legal time) while with B4j the time is solar time (- 1h)?
    Thanks
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You haven't posted your code.

    Create a new program with this code:
    Code:
    Log(DateTime.Time(DateTime.Now))
    Is the output correct?
     
  3. micro

    micro Well-Known Member Licensed User

    Ok I have removed this line
    DateTime.SetTimeZone(1)

    Thanks
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice