Computer Clock System

Hello
i was wondering if i could have any help in creating a system.
i am looking at the idea of a java project that detects when the computer clock has been changed. The idea is to record the date and time on the computer clock and store it in a file. i then want to be able to run rules on it that shows a message if the clock has been changed. i am also looking at incorporating rules such as
" Allowing no more than 5 minute changes" this is to allow conveinience of changing the time by the odd minute.
i also need to incorprate the changes that the clock makes e.g ( going forward an hour or back an hour at certain times of the Year (Britsh Time))
i am not sure if there is already a java system that does this that i could look at but i literarly dont no where to start with this.
it would be very helpful if someone showed me code that could do this.
Any help would be greatly appreciated.
Thanks
Dave

One thread is enough, continue here:
[http://forums.sun.com/thread.jspa?threadID=5397577]

Similar Messages

  • Computer clock resets to 1969. PRAM battery probably not the issue.

    I have a PowerMac G4 mirrored doors computer running Tiger 10.4.11 that occasionally starts up with that error message saying: "Your computer's clock is set to a date before March 24th, 2001. This may cause some applications to behave erratically."
    I know all about resetting the PRAM, resetting the NVRAM, and replacing a weak, or expired battery. I've read the relevant posts on the subject, in which well-intentioned guides say that the problem is "usually" or "generally" related to the PRAM battery. Well, I wish it could be that simple, because I have already had a new battery installed, and the problem continues. It is intermittent; it's been occurring for about six months now; and it persists.
    I seek technical assistance and successful, problem-solving suggestions that go beyond merely suggesting that I zap the PRAM or replace the battery.
    If there are potential SOFTWARE problems, please direct me to those potentially damaged files. None of the disk utilities that I have used—including Disk Warrior, TechTool Pro, OnyX, Cocktail, or Drive Genius— find anything wrong with my hard drive or the files on it. No corrupted resources are reported. Additionally, Intego's Virus Barrier finds no infected files either.
    However, a FileBuddy search of files modified before 3/25/2001 finds several dozen files with improbable dates of 12/31/1969 or 1/1/1970. Fewer files dated 12/31/1969 occur after I go to the Date/Time preferences pane and reset the clock to the current date/time and then restart my computer, especially in regards to system-related files. Nonetheless, several dozen files with a 12/31/1969 still remain, even after the date/time reset and the system restart.
    I do not know if any of those pre-historic files are playing a role in this chronic problem, so I offer that information for the technically more astute to ponder upon and factor in to any solutions which might be offered. I have read posts where someone might suggest a re-install of Tiger, but the original poster almost always reports that re-installing Tiger did not eliminate problem, so I would prefer suggestions that rely on a scalpel rather than a sledge hammer.
    If someone suspects that there may be hardware problem, I would like to hear theories along that line, too, although I am unlikely to consider gutting the hardware items just to retain the attractive computer case. Even though I do have other computers (an iMac G5 and a MacBook Pro), the PowerMac G4 is my preferred workhorse, and it is the only one configured to run Final Cut Pro (version 4.5; I can't afford to upgrade now), so I want to keep it functional without a major investment into an older machine.
    When the computer clock problem first reared its irritating head several months ago, it was accompanied with kernel crashes that turned out to be related to the nVidia video card. I brought the machine in to a local shop, because it was refusing to power on. They installed a new battery to replace the original, probably weak original battery, and they replaced the probably defective nVidia video card with a used nVidia card I found on eBay. The shop also claimed that I needed to replace the motherboard and the power supply to ensure that the G4 would power on and that it would present a desktop without the warning message about the computer clock being set to 12/31/1969.
    I decided to reject their assessment, since the whole repair job would have amounted to about $1,100. It seemed like an excessive solution. Since taking the G4 back about three months ago with only the new battery and the replacement video card installed, the computer has powered on every single time without fail, which, to my non-technician mind, would appear to indicate that the power supply is OK. However, I do still get an occasional warning about the computer clock being set to a date before March 24th, 2001.
    I do not have the technical expertise or repair knowledge to know if the problem is hardware-related, software-related, power supply-related, or a complex interaction between all of them. If someone can suggest a permanent fix to eliminate the computer clock error problem WITHOUT requiring me to make a major investment in repairing or replacing hardware components, that would be ideal. On the other hand, if this clock problem is merely is an irritant, but not a sign of something more serious or expensive, then I am willing to live with it and get around the problem by going through the steps of resetting the clock when required and then restarting the computer with a correctly set clock.
    My main goal, of course, is to have a reliable, stable computer. If it costs too much to eliminate the computer clock irritation on a permanent basis, then I am willing to live with the problem, as long as its presence does not disrupt my work flow. In that case, I would appreciate it if someone could explain what might be going on, so that I know what to expect and what to do about it.
    I hope this is sufficient information with which to make a diagnosis and recommendation. If not, ask for more. Thanks.
    bowlerboy

    Short answer =
    5) Upon reboot after re-connection and re-start, the Date & Time shows...
    a) in the Date & Time pane: 12/31/1969 at 7:00 PM, and counting
    b) in the Finder's menu bar: 7:00 PM, and counting
    What do the results of this test tell you? Is this a software or a hardware problem?
    ======================================================================
    Long answer =
    Thanks, BDAqua, for offering your help. I'm not exactly new to these forums, but somehow my previous contributions have all been wiped out, so I've restarted under a new account name.
    I've had my G4 MDD for five years, and it's always been quite stable for me, so I'm not quite sure that this model is "cantankerous." I do find the computer clock error message irritating, though, so it would be nice to know the source of the problem and its permanent solution.
    Since my original posting, I elected not to Shut Down the G4 to see what would happen. It functioned just fine since then, allowing me to create some short Final Cut Pro movies as Christmas presents to family members. With one exception, all other applications also functioned without problems. The only problem I'm encountering has to do with H-P Photosmart Studio, an application bundled with the HP All-in-one model C7280. It will not settle down to work, forcing me to Force Quit it every time. Since that app works fine on my iMac G5, I decided to trouble-shoot it by reinstalling the HP software, a process that requires me to Shut Down. (If possible, I want to see if the problem is with the HP software, or with Tiger on my G4.)
    However, before I can get even get to trouble-shooting the HP Photosmart, the G4 gives me that computer clock error upon re-boot. In the past, the Date & Time error message has appeared upon a cold reboot, no matter whether I had reset the Date & Time in the preference pane via the Network clock or manually. However, I never conducted my tests in conjunction with disconnecting the A/C power cable. So, I decided to try the the test you suggested. Here are my observations and the results of the test.
    1) Upon Shut Down, cool down, and restart, I get the computer clock error message mentioned at the beginning of my original post, telling me that my clock is set to a earlier date.
    2) When I open the Date & Time preferences pane, however, the date and time shown there (as well as on the Finder's menu bar) is current.
    3) The Network setting was ON, so, to comply with this test, I unchecked the "Set date & time automatically" box. I do not need to reset date and time manually, because, as I mentioned they ARE set correctly, even though the message I got upon restart said that they are not. (If memory serves me correctly, though, the Date & Time panel would actually show 12/31/69 as the computer clock's read-out, so this discrepancy is somehow connected to this problem. )
    4) I shut down the G4 for 2 hours, and I disconnected all cables and plugs to it, including A/C power.
    5) Upon reboot after re-connection and re-start, the Date & Time shows...
    a) in the Date & Time pane: 12/31/1969 at 7:00 PM, and counting
    b) in the Finder's menu bar: 7:00 PM, and counting.
    6) I take screen captures of the error message and the menu bar: both .PNG files are time-stamped as of 12/31/1969 at around 7:01 PM.
    7) I will now reset the clock to the current Date and Time by turning the Network time feature back on, so I can get on with my work while the trouble-shooting process continues.
    What do the results of this test tell you? Is this a software or a hardware problem?
    If it's a software problem, then should I do I clean install of Tiger? If I do that, is there any evidence that a clean install will do any good to eradicate the problem?
    On the other hand, if this is a hardware issue, is it contained to merely being an irritant that I can fix merely by adjusting the Date & Time whenever the problem occurs (which I can live with, as long as the system is stable after that fix), or is this error message regarding a sign of something more ominous failing on the motherboard?
    bowlerboy

  • Why can't I update the computer clock?  I'm using a Mac Pro and Mountain Lion 10.8.2

    I am unable to update the computer clock.  Tried Sys Preferences--just get the spinning basketball.?

    Select  ▹ System Preferences ▹ Language & Text ▹ Region ▹ Region: your country. Test.

  • Problem Activating Contribute 3 - computer clock not synched

    Recently installed Windows 7 and needed to install Contribute 3. Previously using Contribute 2 but lost serial number. When trying to activate I receive  'It appears that your computer clock is not current. Please adjust time and date settings and then click Activate to attempt activating this software again'.
    This I have done and checked but to no avail.
    Any suggestions please before my wife loses patience with me, it's her website I am trying to manage.
    Regards
    Greenrobzo

    Contribute 3 is not certified and tested with Windows 7 64 bit Operating system. Also Activation server for the Old Macromedia products has been disabled. Please check the document linked below and use the serial key available for Contribute 3 for activation. It may works.
    https://helpx.adobe.com/x-productkb/policy-pricing/macromedia-legacy-activation-error.html
    Regards,
    Rajeev.

  • Computer clock changed to year 2001 after motherboar​d replacemen​t

    My T440S was having CPU whine problems, and it was sent to the Lenovo Service Center for repair. They replaced the motherboard for me. After the machine came back, I realized that the system date/computer clock shows the year to be 2001!
    Of course, changing it to the current date and year is not a big deal.
    I wonder however, why this happened. Does it mean that the replacement motherboard they put in my T440S was made in 2001? If yes, is it acceptable policy to install a 13-year old motherboard in T440S?
    Thanks
    Solved!
    Go to Solution.

    Hi,
    That's probably just the default date for an uninitialized clock chip.  The tech didn't bother to set the clock after installing the board and plugging in the CMOS battery.
    It's pretty unlikely that lenovo built a motherboard 13 years ago for CPU, RAM, and chipset - among other things - that wouldn't be developed until many years later...
    Z.
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • How do I access my iphoto library on time machine backup external drive using Lion, originally saved from old computer and system

    how do I access my iphoto library on time machine backup external drive using Lion, originally saved off old computer and system.  It's not letting me open the folder???

    Once again here's how to restore an iPhoto Library from Time Machine:

  • The mail application on my I-Mac dates all mail, whether sent or received, as 5th (of whatever month it is). The computer clock is working, so it's not that. And the time seems to be right. I have no problem with my MacBook. Can anyone help, please?

    The mail application on my I-Mac dates all emails, in or out, as 5th (of whatever month it is). It seems to get the time right.
    The computer clock is fine. I have no problem with my MacBook - just with the I-Mac. Any ideas, please?

    OK Vicky, good clues...
    See if this helps...
    Open Keychain Access in Utilities, use Keychain First Aid under the Keychain Menu item, then either check the Password under that item, change it, or delete it and start over. See if there are duplicates, should be one for Incoming & one for Outgoing.
    Resetting your keychain in Mac OS X...
    If Keychain First Aid finds an issue that it cannot repair, or if you do not know your keychain password, you may need to reset your keychain.
    http://support.apple.com/kb/TS1544

  • My computer operating system is Windows XP. My HP Office Jet G85 no longer works as it once did

    I have an XP opporating system and a HP G85 Printer that we bought and have been using several systems ago.  I have the "original" HP installation disk, but feel I need an updated HP disk/driver/software to myake the printer work properly with my current XP operating system.  Where or what do I do????????

    My computer operating system is Windows XP.  My HP Office Jet G85 no longer wors as it once did with the operating systems that I had BEFORE Windows XP.  What do I do????

  • Fix for "your computer's system firewall settings will prevent you...?"

    I finally did the dreaded feat and performed an update - had all kinds of problems afterwards (repeating Network settings message error, unknown error -3256 error, etc.) that I have (I think) successfully fixed thanks to these fabulous forums. After getting the -3256 error I updated the firmware and software for my AE and applied the Apple support fix for -3256. Then I started getting a new issue - being the following message after opening my new i-tunes version 8.0.2 "your computer's system firewall settings will prevent you from using Airtunes". After going into the firewall settings and trying to modify the port number (which I found suggested here) that i-tunes would use to stream to my airport express in the edit pane for 'i-tunes music sharing'. I ended up creating a new port specification, which I called i-tunes 1 with ports 5000 - 6000 specified. Tried opening i-tunes again - but no luck, same error. Thinking that I'd done nothing to improve the situation, I deleted my new port specification in the allow pane under firewall - I noticed that the original spec was gone (because I had edited it?). Anyway, as soon as I deleted the spec that I had edited, airtunes started working beautifully! To check things - I closed i-tunes and re-started, then, got the same message ""your computer's system firewall settings will prevent you from using Airtunes" with the option to check my firewall settings - which I did. This time, I noticed that 'i-tunes music streaming' was again listed as an option under allow in my firewall. I selected and deleted it - then again, my Airtunes works perfectly.
    I really have no idea what exactly occurs 'behind the scenes' so to speak when you delete this from the list - but - it seems to have fixed my problem. I'm guessing that I'll have to do that each time I open i-tunes. At least I got my airtunes back. I guess I'm a little worried that deleting this item presents some sort of risk or could lead to another problem and so if anyone can comment on this I would really appreciate it. Alternatively, if anyone has a solution that won't require me deleting this item each time I open i-tunes, I'd be glad to hear it.
    Thanks!
    Leigh-Ann

    Leigh-Ann, you didn't say that Airtunes didn't work, only that you got that error. I, too, am getting the "Your computer's system firewall settings will prevent you from using Airtunes" message, but when I click "Ignore" I find that Airtunes works just fine.

  • When I try to open editor I get an error message that I am not connected to the internet (which I am) or my computer clock is set incorrectly (which it is not).

    When I try to open editor I get an error message that I am not connected to the internet (which I am) or my computer clock is set incorrectly (which it is not).

    This is normally to do with activation. You need to contact Adobe directly using the link below. Use the dropdown menu for boxes (1) & (2) to scroll down the list and choose:
    1. Adobe Photoshop Elements
    2. Serial number issues or activating my product
    3. Click on the blue button: Still need help? Contact us – then click the button marked “chat now”
    It’s usually possible to start a live chat, if an Adobe agent is free, and often to get the problem fixed right away. Ensure you have your serial number.
    Click here to get help now Contact Customer Care

  • OS X could not be installed on your computer File system verify or repair failed

    Downloaded OS X Yosemite update through Apple Store and attempted to install it on my mom's 2013 21" iMac running OS X 10.9.5.
    However, a few minutes into the process I received this message:
    OS X could not be installed on your computer
    File system verify or repair failed. Quit the installer to restart your computer and try again.
    Tried restarting several times to no avail. Ran disk utility and saw:
    Invalid node structure.
    File system check exit code is 8.
    Error: This disk needs to be repaired.
    Repair disk button not available for Mac HD, but is available for 1TB Apple HDD. Is there any way to abort the OS X Yosemite installation?

    TThe Disk Utility cannot repair the disk it resides on. The way I get around this is to use an external hard disk as my startup disk and run did utility from that. Most time then the primary disk on your iMac can be repaired.

  • Computer clock

    When I turn on my Mac I get the message, computer clock is set to a date prior to 01/01/2008 and some apps may act erratically, but my clock is set to the present date.

    Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.
    Back up all data on the internal drive(s) before you hand over your computer to anyone. There are ways to back up a computer that isn't fully functional — ask if you need guidance.
    If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you have at least two complete, independent backups, and you know how to restore to an empty drive from any of them.) Don’t erase the recovery partition, if present.
    Keeping your confidential data secure during hardware repair
    *An SSD doesn't need to be zeroed.

  • Computer Clock keeps getting reset

    My computer clock keeps resetting itself. I have replaced the PRAM battery with a brand new one and I still am receiving this error message. What else could be going on?

    The card was already installed, working fine. To troubleshoot another issue (I cannot export video from my Canopus ADVC300), I removed all PCI cards. All 4 slots are used. After I removed the 4 PCI cards, my Mac started losing time. I then replaced the PRAM battery and reset the PRAM. This didn't solve the issue. When I put the other 3 PCI cards back in, nothing happened as well. When I put the Sonnet Tempo SATA back in, the computer started retaining the time. Unfortunately, I the computer is not retaining the time anymore- even with all 4 PCI cards installed. How do you reset the MOBO?

  • How to install REDUCE Computer Algebra System

    How to install REDUCE Computer Algebra System in macbook pro Yosemite 10.10

    That doesn't appear to have been updated for nearly 5 years.
    The latest OS X version supported is 10.6 Snow Leopard.

  • I am running out of hard drive space so I clear 32GB of space at midnight, went to bed. When I wokle up I had no space left even though I had not used the computer, the system.lg is FULL of stuff and I have no HD space anymore? What's eating it up?

    I am running out of hard drive space so I clear 32GB of space at midnight and went to bed.
    When I wokle up I had no space left even though I had not used the computer, the system.lg is FULL of stuff and I have no HD space anymore?
    What's eating it up?

    WORD TO THE WISE
    the OmniDiskSweeper was a very helpful download, because it laid out the HD and all the files on it in a "largest to smallest" fashion. When I did this I found that I had an inordinate amount of memory being taken up in my Mail Data folder, this did not make much sense so when I dug deeper I found that a 59MB scanned file that I had emailed 3 weeks ago had not been delivered, so the computer was retrying every minute and saving the history of what it was doing, so it was saving the 59MB file as well as the log about the 59MB file and hence for the last 3 weeks it's been chewing away at HD space recording the activity of the undeliverable file.
    I deleted the Data record folders and removed the yahoo account from My Mail and reinstalled it with proper IMAP information and the HD is secure and holding at 331GB of free space. Like it ought to be.
    I love the fact that if something very strange is happpening on your MAC there is a REASON....find it and fix it, and move on. In the PC world you would reboot 20 times, call some guy in India who will ony try to sell you a new subscription or warranty for $99 and never solve anything.
    I am at rest once more, thanks for the tip

Maybe you are looking for

  • 11i to r12 Conversion - help needed

    Hi My client is doing re-implementation of r12 and migrating from 11i to r12. I need help particularly on conversions side. The client is a SaaS company. they are considering to bring open and history transactions and applied/unapplied receipts to r1

  • Designer 9.0.4.6 (Repository 4.0.12.97.6) on Linux?

    Is there ANY way to get Designer 9.0.4.6 for LINUX? Or Is there ANY Designer for LINUX working with repository 4.0.12.97.6? I'm tired of downloading Developer Suites 9.x & 10.x and wondering which version of Designer will be inside and if there is a

  • New Payment terms

    Hello Gurus, I need to create a new payment term in OBB8, for example -7days/3%, 14days/1,5%, 30days/1% and 60days without discount-, but the standard only permit 3 conditions. There´s any workaround for this question? Any solution?? Thanks in advanc

  • Some shares not showing up.

    I'm having a strange problem that has happened once before, but I can't for the life of me recall what I did to fix it. First the background.. Open Directory Master: OS X Server 10.4.2 Files Server: OS X Server 10.4.2 (kerberized to ODM) Clients: OS

  • How do I transfer downloaded movies from my iMac to my external hard drive?

    Hi folks I am trying to transfer movies downloaded to my iMac 7 on to my external hard drive. How do I go about this. Many thanks in advance