Results 1 to 13 of 13
  1. #1
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    441
    Rep Power
    6

    Default Time problem in windows 7.

    Hi,
    I have been using windows XP for so long time. A few days back I had to switch my system from windows XP to Windows 7. All my programs works well except the programs about Date and Time. What happening is the time difference between windows Xp and 7 is about five and half hours. Cause of this, I am not able to use programs written by myself. I tried out lot of things but not able to fix this so far.
    Hope you guys face this kind of problem. Please let me know the solution.
    Mak
    (Living @ Virtual World)

  2. #2
    Dark's Avatar
    Dark is offline Senior Member
    Join Date
    Apr 2011
    Location
    Camp Lejuene, North Carolina
    Posts
    643
    Rep Power
    4

    Default

    Why can't you use the programs? Are you getting errors? What do you mean the time difference between Windows XP and 7 is about five and a half hours? As far as I know theres nothing different between the XP and 7 time feature in the OS. Are you sure you set your system clock to the correct time?

  3. #3
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    441
    Rep Power
    6

    Default

    Dark,
    I am not getting any error.But new Date() prints the current date and time what I have assigned in my system clock in XP wheras windows 7 prints time which is 5.30 hrs before the current time of our system.
    Mak
    (Living @ Virtual World)

  4. #4
    ra4king's Avatar
    ra4king is offline Senior Member
    Join Date
    Apr 2011
    Location
    Atlanta, Georgia, US
    Posts
    396
    Rep Power
    4

    Default

    Are you sure the System Time on Windows 7 is set correctly? Because I have Windows 7 and everything works fine for me.

  5. #5
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    441
    Rep Power
    6

    Default

    I am pretty sure that my system clock shows the time 10.30 am but my Java program shows the time 5.00 am..
    Mak
    (Living @ Virtual World)

  6. #6
    ra4king's Avatar
    ra4king is offline Senior Member
    Join Date
    Apr 2011
    Location
    Atlanta, Georgia, US
    Posts
    396
    Rep Power
    4

    Default

    Well this is weird. Either your computer's screwed up or you're doing something wrong.

  7. #7
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    441
    Rep Power
    6

    Default

    I guess i better analyse this problem with Windows 7 system admin.

    Thanks to all..
    Mak
    (Living @ Virtual World)

  8. #8
    Dark's Avatar
    Dark is offline Senior Member
    Join Date
    Apr 2011
    Location
    Camp Lejuene, North Carolina
    Posts
    643
    Rep Power
    4

    Default

    Have you checked your BIOS clock?
    • Use [code][/code] tags when posting code. That way people don't want to stab their eyes out when trying to help you.
    • +Rep people for helpful posts.

  9. #9
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    441
    Rep Power
    6

    Default

    Not yet. Could you please tell me how can i check bois time?
    Mak
    (Living @ Virtual World)

  10. #10
    Dark's Avatar
    Dark is offline Senior Member
    Join Date
    Apr 2011
    Location
    Camp Lejuene, North Carolina
    Posts
    643
    Rep Power
    4

    Default

    Um, you have to restart your computer and while its loading there should be something on the bottom of your screen that says "Press <key> to enter startup" or "Press <key> to enter bios" Something like that.

    The key is different depending on the manufacturer of your computer. Mine personally is ESC.

    After you load into the bios there should be a tab in there with the label of time or clock. Don't change any settings in there, only look for the time portion. If you change any of your bios settings you should exit without saving.

    Once you find the time section of your bios settings, compare it to your local time and then change it accordingly.

    Make sense?
    • Use [code][/code] tags when posting code. That way people don't want to stab their eyes out when trying to help you.
    • +Rep people for helpful posts.

  11. #11
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    441
    Rep Power
    6

    Default

    Thanks for your patience. I am doing as per your instruction..
    Mak
    (Living @ Virtual World)

  12. #12
    ra4king's Avatar
    ra4king is offline Senior Member
    Join Date
    Apr 2011
    Location
    Atlanta, Georgia, US
    Posts
    396
    Rep Power
    4

    Default

    On most computers it's F2 to get into BIOS.

  13. #13
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,360
    Blog Entries
    7
    Rep Power
    20

    Default

    Check the system's time zone.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. Windows 7 Java Problem
    By BigEZ18045 in forum Advanced Java
    Replies: 3
    Last Post: 03-13-2011, 02:56 PM
  2. ODBC driver problem windows 7
    By dewitrydan in forum New To Java
    Replies: 0
    Last Post: 11-07-2010, 11:01 AM
  3. Time Zone Problem on Windows
    By yzaltz in forum New To Java
    Replies: 4
    Last Post: 09-29-2010, 01:38 PM
  4. Replies: 5
    Last Post: 04-02-2010, 03:33 PM
  5. Problem in knowing the status of windows
    By sushil in forum AWT / Swing
    Replies: 1
    Last Post: 10-04-2009, 01:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •