Help me with time/date

hello
i need to make for school an applet, that when i press a button the current time is showed. and an other button that also shows the current time. and a butten that i can calculate the time between the first click on button one and the second click on button two. can someone help me. this is my code can someone adjust it or explain how i can get times shown in my applet.
// stefan v/d eeden klok
package stefan;
import java.awt.*;
import java.applet.*;
import java.awt.event.*;
public class stefan extends Applet{
// buttons
Button startknop;
Button stopknop;
Button telefoonknop;
Button overigeknop;
// textfields
TextField startvak;
TextField stopvak;
TextField telefoonvak;
TextField overigevak;
public void init() {
//layout
setLayout( null );
// buttons
startknop = new Button( " start ");
startknop.addActionListener( new startknopHandler() );
stopknop = new Button( " stop ");
stopknop.addActionListener( new stopknopHandler() );
telefoonknop = new Button( " telefoon ");
telefoonknop.addActionListener( new telefoonknopHandler() );
overigeknop = new Button( " overige ");
overigeknop.addActionListener( new overigeknopHandler() );
// textfields
startvak = new TextField( 12 );
stopvak = new TextField( 12 );
telefoonvak = new TextField( 12 );
overigevak = new TextField( 12 );
// layout
startknop.setBounds( 10, 20, 60, 30 );
stopknop.setBounds( 80, 20, 60, 30 );
telefoonknop.setBounds( 150, 20, 60, 30 );
overigeknop.setBounds( 220, 20, 60, 30 );
startvak.setBounds(10,80,60,40);
stopvak.setBounds(80,80,60,40);
telefoonvak.setBounds(150,80,60,40);
overigevak.setBounds(220,80,60,40);
// add
add( startknop );
add( stopknop );
add( telefoonknop );
add( overigeknop );
add( startvak );
add( stopvak );
add( telefoonvak );
add( overigevak );
public void paint( Graphics g ) {
//Startknop
class startknopHandler implements ActionListener {
public void actionPerformed( ActionEvent e ) {
// shows the current time of clicking startknop in startvak
//Stopknop
class stopknopHandler implements ActionListener {
public void actionPerformed( ActionEvent e ) {
// shows the current time of clicking stopknop in stopvak
//telefoonknop
class telefoonknopHandler implements ActionListener {
public void actionPerformed( ActionEvent e ) {
// calculates the time between start and stop
// and show this in telefoonvak
//Overigeknop
class overigeknopHandler implements ActionListener {
public void actionPerformed( ActionEvent e ) {
// please leave empty
}

Jeez, did you try what I posted?
Change your startknopHandler to:
class startknopHandler implements ActionListener {
          public void actionPerformed(ActionEvent e) {
               Date d = new Date();
               startvak.setText(d.toString());
     }

Similar Messages

  • Help needed with passing data between classes, graph building application?

    Good afternoon please could you help me with a problem with my application, my head is starting to hurt?
    I have run into some difficulties when trying to build an application that generates a linegraph?
    Firstly i have a gui that the client will enter the data into a text area call jta; this data is tokenised and placed into a format the application can use, and past to a seperate class that draws the graph?
    I think the problem lies with the way i am trying to put the data into co-ordinate form (x,y) as no line is being generated.
    The following code is from the GUI:
    +public void actionPerformed(ActionEvent e) {+
    +// Takes data and provides program with CoOrdinates+
    int[][]data = createData();
    +// Set the data data to graph for display+
    grph.showGrph(data);
    +// Show the frame+
    grphFrame.setVisible(true);
    +}+
    +/** set the data given to the application */+
    +private int[][] createData() {+
    +     //return data;+
    +     String rawData = jta.getText();+
    +     StringTokenizer tokens = new StringTokenizer(rawData);+
    +     List list = new LinkedList();+
    +     while (tokens.hasMoreElements()){+
    +          String number = "";+
    +          String token = tokens.nextToken();+
    +          for (int i=0; i<token.length(); i++){+
    +               if (Character.isDigit(token.charAt(i))){+
    +                    number += token.substring(i, i+1);+
    +               }+
    +          }     +
    +     }+
    +     int [][]data = new int[list.size()/2][2];+
    +     int index = -2;+
    +     for (int i=0; i<data.length;i++){+
    +               index += 2;+
    +               data[0] = Integer.parseInt(+
    +                         (list.get(index).toString()));+
    +               data[i][1] = Integer.parseInt(+
    +                         (list.get(index +1).toString()));+
    +          }+
    +     return data;+
    The follwing is the coding for drawing the graph?
    +public void showGrph(int[][] data)  {+
    this.data = data;
    repaint();
    +}     +
    +/** Paint the graph */+
    +protected void paintComponent(Graphics g) {+
    +//if (data == null)+
    +     //return; // No display if data is null+
    super.paintComponent(g);
    +// x is the start position for the first point+
    int x = 30;
    int y = 30;
    for (int i = 0; i < data.length; i+) {+
    +g.drawLine(data[i][0],data[i][1],data[i+1][0],data[i+1][1]);+
    +}+
    +}+

    Thanks for that tip!
    package LineGraph;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    import java.util.List;
    public class GUI extends JFrame
      implements ActionListener {
      private JTextArea Filejta;
      private JTextArea jta;
      private JButton jbtShowGrph = new JButton("Show Chromatogram");
      public JButton jbtExit = new JButton("Exit");
      public JButton jbtGetFile = new JButton("Search File");
      private Grph grph = new Grph();
      private JFrame grphFrame = new JFrame();   // Create a new frame to hold the Graph panel
      public GUI() {
         JScrollPane pane = new JScrollPane(Filejta = new JTextArea("Default file location: - "));
         pane.setPreferredSize(new Dimension(350, 20));
         Filejta.setWrapStyleWord(true);
         Filejta.setLineWrap(true);     
        // Store text area in a scroll pane 
        JScrollPane scrollPane = new JScrollPane(jta = new JTextArea("\n\n Type in file location and name and press 'Search File' button: - "
                  + "\n\n\n Data contained in the file will be diplayed in this Scrollpane "));
        scrollPane.setPreferredSize(new Dimension(425, 300));
        jta.setWrapStyleWord(true);
        jta.setLineWrap(true);
        // Place scroll pane and button in the frame
        JPanel jpButtons = new JPanel();
        jpButtons.setLayout(new FlowLayout());
        jpButtons.add(jbtShowGrph);
        jpButtons.add(jbtExit);
        JPanel searchFile = new JPanel();
        searchFile.setLayout(new FlowLayout());
        searchFile.add(pane);
        searchFile.add(jbtGetFile);
        add (searchFile, BorderLayout.NORTH);
        add(scrollPane, BorderLayout.CENTER);
        add(jpButtons, BorderLayout.SOUTH);
        // Exit Program
        jbtExit.addActionListener(new ActionListener(){
        public void actionPerformed(ActionEvent e) {
             System.exit(0);
        // Read Files data contents
         jbtGetFile.addActionListener(new ActionListener(){
         public void actionPerformed( ActionEvent e) {
                   String FileLoc = Filejta.getText();
                   LocateFile clientsFile;
                   clientsFile = new LocateFile(FileLoc);
                        if (FileLoc != null){
                             String filePath = clientsFile.getFilePath();
                             String filename = clientsFile.getFilename();
                             String DocumentType = clientsFile.getDocumentType();
         public String getFilecontents(){
              String fileString = "\t\tThe file contains the following data:";
         return fileString;
           // Register listener     // Create a new frame to hold the Graph panel
        jbtShowGrph.addActionListener(this);
        grphFrame.add(grph);
        grphFrame.pack();
        grphFrame.setTitle("Chromatogram showing data contained in file \\filename");
      /** Handle the button action */
      public void actionPerformed(ActionEvent e) {
        // Takes data and provides program with CoOrdinates
        int[][]data = createData();
        // Set the data data to graph for display
        grph.showGrph(data);
        // Show the frame
        grphFrame.setVisible(true);
      /** set the data given to the application */
      private int[][] createData() {
           String rawData = jta.getText();
           StringTokenizer tokens = new StringTokenizer(rawData);
           List list = new LinkedList();
           while (tokens.hasMoreElements()){
                String number = "";
                String token = tokens.nextToken();
                for (int i=0; i<token.length(); i++){
                     if (Character.isDigit(token.charAt(i))){
                          number += token.substring(i, i+1);
           int [][]data = new int[list.size()/2][2];
           int index = -2;
           for (int i=0; i<data.length;i++){
                     index += 2;
                     data[0] = Integer.parseInt(
                             (list.get(index).toString()));
                   data[i][1] = Integer.parseInt(
                             (list.get(index +1).toString()));
         return data;
    public static void main(String[] args) {
    GUI frame = new GUI();
    frame.setLocationRelativeTo(null); // Center the frame
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setTitle("Clients Data Retrival GUI");
    frame.pack();
    frame.setVisible(true);
    package LineGraph;
    import javax.swing.*;
    import java.awt.*;
    public class Grph extends JPanel {
         private int[][] data;
    /** Set the data and display Graph */
    public void showGrph(int[][] data) {
    this.data = data;
    repaint();
    /** Paint the graph */
    protected void paintComponent(Graphics g) {
    //if (data == null)
         //return; // No display if data is null
    super.paintComponent(g);
    //Find the panel size and bar width and interval dynamically
    int width = getWidth();
    int height = getHeight();
    //int intervalw = (width - 40) / data.length;
    //int intervalh = (height - 20) / data.length;
    //int individualWidth = (int)(((width - 40) / 24) * 0.60);
    ////int individualHeight = (int)(((height - 40) / 24) * 0.60);
    // Find the maximum data. The maximum data
    //int maxdata = 0;
    //for (int i = 0; i < data.length; i++) {
    //if (maxdata < data[i][0])
    //maxdata = data[i][1];
    // x is the start position for the first point
    int x = 30;
    int y = 30;
    //draw a vertical axis
    g.drawLine(20, height - 45, 20, (height)* -1);
    // Draw a horizontal base line4
    g.drawLine(20, height - 45, width - 20, height - 45);
    for (int i = 0; i < data.length; i++) {
    //int Value = i;      
    // Display a line
    //g.drawLine(x, height - 45 - Value, individualWidth, height - 45);
    g.drawLine(data[i][0],data[i][1],data[i+1][0],data[i+1][1]);
    // Display a number under the x axis
    g.drawString((int)(0 + i) + "", (x), height - 30);
    // Display a number beside the y axis
    g.drawString((int)(0 + i) + "", width - 1277, (y) + 900);
    // Move x for displaying the next character
    //x += (intervalw);
    //y -= (intervalh);
    /** Override getPreferredSize */
    public Dimension getPreferredSize() {
    return new Dimension(1200, 900);

  • Performing SUM with time data

    Hi,
    is there a way to sum time data as following?
    start_time: 10,15 AM
    stop_time: 2,35 PM
    I expect to do something like:
    =(stop_time - start_time)
    but this doesn't work.
    Thanks anticipately.

    Currently we support arithmetic formulas on 12 hour intervals only, i.e., you can perform the following action (Stop_time - Start_time) for Start_time: 1:00AM and Stop_time: 9:00AM.  Tables will display 8:00AM as the result.  Please make sure you select "date" as the data type for all the columns associated with this operation.
    Thanks,
    Varun

  • Help needed with timer codes

    i have tried to do a countdown timer but can't debug it.. can anyone help me with it or can anyone provide me with the correct coding for countdown timer..
    import java.awt.*;
    import java.Swing.*;
    import java.util.*;
    import java.awt.*;
    import java.Swing.*;
    import java.util.*;
    public class timer
         public static void main (String [] args)
              double sec = 150;
              countDown(sec);
         private Thread countDown(double seconds)
            final double time = seconds;
            Runnable runnable(){
                   public void run(){
                  try{
                    Thread.sleep(time * 1000);
                  }catch(Exception e){}
            return new Thread(runnable);
         public  void displayCountDown(){
           int seconds = 22;
           for(int i = 0; i < seconds; i++){
             Thread trd = countDown(i);
             trd.start(){
             while(trd.isAlive()){
               ; // wait
             System.out.print('\r');
             System.out.print(i);
    }

    I would suggest using javax.swing.Timer or java.util.Timer instead of implementing it yourself.

  • To cature records with time & date

    Hi All,
    How to capture records within the time and date when runing the program in backgorund finish before end of day and after finish.
    Thanks,
    bala

    HI,
    What type of records you are looking to capture. Regarding to which module(ex: SD,FI).
    After executing the programs in any mode, you can identify the corresponding updated records information with enterted time & date in the specific table.
    Ex: in FI if we post any document the records time data information will be updated in entered time & entered date field in docment header table(BKPF).
    Provide us the detailed issue you are facing.
    BR,
    Rajani

  • Help needed with missing data problem in CRVS2010

    We recently upgraded the reporting engine in our product to use Crystal Reports for Visual Studio 2010 (previously engine was CR9). Our quote report, which has numerous subreports and lots of conditional formatting, started losing data when a quote took more than a single page to be printed. We knew the SQL results included the data, but the report was not printing those lines at all or sometimes printing a partial line. In addition, the running total on the report would exclude the lines that were being missed on the next page. In one example submitted by a customer, 3 lines were skipped between pages.
    I think I have identified two potential issues that document the possibility of data not being included in the report.
    The first potential issue is an issue with the "suppress blank section" option being checked. This issue is supposedly fixed with ADAPT01483793, being released someday with service pack 2 for CRVS2010.
    The second potential issue is using shared variables. This issue is supposedly fixed with ADAPT01484308, also targeted for SP2.
    Our quote report does not explicitly use shared variables with any of the subreports, but it does have several subreports, each in its own section that has the "supress blank section" option checked. We have other reports that use this feature, as well, and they are not exhibiting the problem.
    One different thing about the quote report is that it has a section with multiple suppression options selected. The section has a conditional suppression formula, which controls whether the section is included at all within the report. The section also has the suppress blank section option selected. There are multiple fields within the report that are each conditionally suppressed. In theory, the section's suppress formula could evaluate to true, yet all of the fields within the section are suppressed (due to null values), and then the "suppress blank section" option would kick in.
    The missing data only seems to happen when the section is not being suppressed, and at least one of the fields is being included in the report. If I clear the "suppress blank section" check box, and change the section formula to also include the rules applied to the fields in the section, the missing data problem seems to be resolved.
    Is this related to ADAPT01483793? Will it be fixed in service pack 2?
    If more details are needed, I would be happy to provide a sample report with stored data.

    Hi Don,
    Have a look at the Record Selection formula in CR Designer ( stand alone ) and when exported to RPT format opening that report in the Designer also. 
    There's been a few issues with => logic in the record selection formula. It could be you are running into this problem. Look for NOT inserted into your selection formula.
    Oh and SP2 is coming out shortly so it may resolve the issue. But if you want you could purchase a support, or if you have a support contract then create a case in SMP and get a rep to work with you to debug the issue.
    If you have not try the Trial Version of CR 2011, put it on a VM-ware image or Test PC so you don't corrupt anything for production and have a look at and test it in that designer also. If you purchase a case and it is a bug then you'll get a credit back for the case.
    Don
    Edited by: Don Williams on Oct 26, 2011 7:40 AM

  • Help needed with binary data in xml (dtd,xml inside)

    I am using the java xml sql utility. I am trying to load some info into a table.
    my.dtd:
    <!ELEMENT ROWSET (ROW*)>
    <!ELEMENT ROW (ID,JPEGS?)>
    <!ELEMENT ID (#PCDATA)>
    <!ELEMENT DESCRIPTION EMPTY>
    <!ATTLIST DESCRIPTION file ENTITY #REQUIRED>
    <!NOTATION INFOFILE SYSTEM "Files with binary data inside">
    <!ENTITY file1 SYSTEM "abc.jpg" NDATA INFOFILE>
    xml file:
    <?xml version="1.0" standalone="no"?>
    <!DOCTYPE ROWSET SYSTEM "MY.DTD">
    <ROWSET>
    <ROW>
    <ID>1272</ID>
    <DESCRIPTION file="file1"/>
    </ROW>
    </ROWSET>
    I am using the insertXML method to do this. However, the only value that gets loaded is the ID. abc.jpg is in the same directory where I ran the java program.
    Thanks in advance.

    Sorry! wrong dtd. It should read this instead:
    my.dtd:
    <!ELEMENT ROWSET (ROW*)>
    <!ELEMENT ROW (ID,DESCRIPTION?)>
    <!ELEMENT ID (#PCDATA)>
    <!ELEMENT DESCRIPTION EMPTY>
    <!ATTLIST DESCRIPTION file ENTITY #REQUIRED>
    <!NOTATION INFOFILE SYSTEM "Files with binary data inside">
    <!ENTITY file1 SYSTEM "abc.jpg" NDATA INFOFILE>
    null

  • Please Help! with a data merge

    Iam trying to do a data merge for my client in Indesign this is a new challenge to me and have gone through many a tutorial and uTube video but still cant get it to work properly.
    Iam hoping that someone can give me some advise.
    I have 11 different images (product Labels) that need personalisation with a data merge. I have attached the data merge file preview and the txt file (tab delimited text. txt)
    As you can see the data merge text, seems to overflow into all the other boxes. (The blank boxes hold white text) and the images dont appear at all. Any suggestions would be really appreciated.
    Thanks

    So you did press the preview button...
    First thing I see though, is the image tag is in a text frame, not an image frame, or at least that's the way it looks in the screen cap, but it does appear correct in the prvious version, so it might just be the way the frames are displayed.
    But I suspect, too, that the file is now damaged. The preview button is buggy, and once you've pressed it and then done a merge the odds that the file will ever work correctly are small. Best thing is to rebuild the template in a new file and merge without pressing preview (just trust it will work). Copy/paste from the old file seems to be OK to do this.

  • Issue with time/date change.

    Hello,
    I'm having issues after changing the time/date zone settings, after I change the time zone (new setting), apperently it is correctly saved while exit (it prompts), but when I return to see the time/date settings once again, the timezone remains the same as the old setting.
    I've tried by changing the source type: Blackberry, Network or Off but its the same.
    What can i do to solve this? firmware update?
    Thanks in advance,
    Regards.

    Ok, I was at the Apple Genius Bar yesterday, and among other things to address my frequent beachball concerns, the Genius repaired disk permissions and reset network settings.
    I checked the automagic time/date/time zone settings, and it worked perfectly.
    I get home, and the MacBook thinks I'm back in Rexford, Idaho again, throwing off my time zone and time. Argh!

  • SQL Loader Oracle 10g problem in upload date with time data -- Very urgent.

    Hi
    I am trying to upload data using SQL loader. There are three columns in the table
    defined as DATE. When I tried upload a data like this '2007-02-15 15:10:20', it is not loading time part. The date stored as 02/15/2008' only. There is not time on that. I tried with many different format nothing work. Can please help me ?
    I have also tried with to_date --> to_timestamp it did not work.
    The application is going to be in production, I cannot change DATE to TIME STAMP. This is very urgent.
    LASTWRITTEN "decode(:LASTWRITTEN,'null',Null, to_date(:LASTWRITTEN,'YYYY-MM-DD HH24:Mi:SS'))",
    CREATEDON "decode(:CREATEDON,'null',Null, to_date(:CREATEDON,'YYYY-MM-DD HH24:Mi:SS'))",
    LASTUPDATEDON(21) "decode(:LASTUPDATEDON,'null',Null, to_date(:LASTUPDATEDON(21),'DD/MM/YYYY HH24:MI:SS'))"

    Your problem is most likely in decode - the return type in your expression will be character based on first search value ('null'), so it will be implicitly converted to character and then again implicitly converted to date by loading into date column. At some of this conversions you probably are loosing your time part. You can try instead use cast:
    SQL> desc t
    Name                                      Null?    Type
    LASTWRITTEN                                        DATE
    CREATEDON                                          DATE
    LASTUPDATEDON                                      DATE
    SQL> select * from t;
    no rows selected
    SQL> !cat t.ctl
    LOAD DATA
    INFILE *
    INTO TABLE T
    TRUNCATE
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS
    LASTWRITTEN
    "decode(:LASTWRITTEN,'null',cast(Null as date),
      to_date(:LASTWRITTEN,'YYYY-MM-DD HH24:MI:SS'))",
    CREATEDON
    "decode(:CREATEDON,'null',cast(Null as date),
      to_date(:CREATEDON,'YYYY-MM-DD HH24:MI:SS'))",
    LASTUPDATEDON
    "decode(:LASTUPDATEDON,'null',cast(Null as date),
      to_date(:LASTUPDATEDON,'DD/MM/YYYY HH24:MI:SS'))"
    BEGINDATA
    2007-02-15 15:10:20,null,null
    null,2007-02-15 15:10:20,null
    null,null,15/02/2007 15:10:20
    SQL> !sqlldr userid=scott/tiger control=t.ctl log=t.log
    SQL*Loader: Release 10.2.0.3.0 - Production on Fri Feb 29 00:20:07 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Commit point reached - logical record count 3
    SQL> select * from t;
    LASTWRITTEN         CREATEDON           LASTUPDATEDON
    15.02.2007 15:10:20
                        15.02.2007 15:10:20
                                            15.02.2007 15:10:20Best regards
    Maxim

  • Help migrating with Time Machine

    Hi there!
    I have a couple of questions regarding Time Machine,thanks in advance to anyone can help.
    I have to sell my Imac and i have to wait for a couple of weeks until i get a new one.
    What i need to know is if it is possible mirror my Imac,System,data,settings,files.. everything) into an external HD to later install OSX into a new machine from the external HD,so the new machne is exactly as this Imac am sellng?
    Asking because a not sure if Time Machine does that os just saves files and settings.
    Also i have a couple questions more regarding Time Machine
    Can the external hd be a USB one? or has to be FW?
    I never backed up my osx via Time Machine before,does it takes long in copying for he first time?its a 250GB internal drive...
    Many thanks again
    P

    Welcome to Apple Discussions.
    pacoclandestino1 wrote:
    What i need to know is if it is possible mirror my Imac,System,data,settings,files.. everything) into an external HD to later install OSX into a new machine from the external HD, so the new machne is exactly as this Imac am sellng?
    Yes, you can do this TM or what I would suggest would be using SuperDuper or CarbonCopy Cloner. Both will make exact copies/clones. The advantage of SD or CCC over TM is the disk will be workable & bootable.
    pacoclandestino1 wrote:
    I never backed up my osx via Time Machine before,does it takes long in copying for he first time?its a 250GB internal drive...
    Depends how much data is written to it... figure on 1/2 hr to an hour, or a bit longer.
    Also i have a couple questions more regarding Time Machine
    I never backed up my osx via Time Machine before,does it takes long in copying for he first time?its a 250GB internal drive...
    In Intel MAcs the drive can be either firewire or USB but of course the fastest transfer speeds would be firewire 800.
    EDIT: Also, The proper way to "clean" a computer before selling it is to zero the hard drive. This will make all your data irretrievable.
    Steps for zeroing the drive Disk Utility:
    1. Insert your Mac OS X CD-ROM disc or Restore DVD disc, then restart the computer while holding the C key until you see the spinning gear.
    2. Once started up from CD or DVD, choose Disk Utility from the Installer menu.
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from disc to access Disk Utility.
    3. Choose the entire disk (top icon).
    4. Choose erase tab.
    5. Click on Options
    6. Choose "write zeros".
    7. Erase
    This will take a bit of time because the computer is physically writing zeros to each block.
    You should then re-install the original OS from the system disks and deliver the Mac to the new owner with the system disks that shipped with it.
    If you want it to boot as new startup and create an admin account:
    Then, launch Terminal and type:
    sudo rm /var/db/.AppleSetupDone
    Press Return
    Then
    cd /
    Press REturn
    Then:
    sudo rm -r /Users/yourname
    Press return.
    Then:
    sudo nicl -raw /var/db/netinfo/local.nidb delete /users/yourname/
    Press return
    Then, shut down the machine immediately.
    -mj
    Message was edited by: macjack

  • Help, please, with time machine

    I've got my MacBook Pro set up to back up to a Time Capsule using Time Machine. I have three user accounts on my Mac: an admin account just to install stuff, and two standard accounts for different types of work. The standard accounts contain my data and these accounts are both FileVaulted. (The Admin account isn't - it's from there I do my SuperDuper! backups, but that's another story.)
    When I'm in either of my standard, filevaulted accounts, the Time Machine icon often begins to rotate. What exactly is it doing at this point, as I understood my filevaulted accounts weren't backed-up until I logged-out of them? Also, when I do log-out, sometimes it tells me it is backing up my account - but not always. Why does it not bother sometimes, and what determines when it does and when it doesn't?
    Any help would be gratefully received. Sorry if this has already been dealt with before - just point me to the right thread.
    Thanks very much.

    powpow wrote:
    So, my 2003 iBook was dying a slow death and I had to reinstall Leopard. I did a Time Machine backup first.
    After the clean install, I migrated apps/files and all of my applications seemed to transfer fine, but my bookmarks for Safari and Firefox did not import automatically?
    Is this a bug? Can I find them somewhere on the Time Machine backup?
    Thanks!
    The Bookmark directory is located here:
    /Users/YourAccount/Library/Caches/Metadata/Safari/Bookmarks
    Where YourAccount is your username.
    If you use Finder to browse to that folder and then start TM you should see all past backups of that folder, if they exist.

  • Something wrong with time&date on OS X Snow Leopard

    I cannot associate this problem to any changes I might did on the system. The only thing I remember, on the last 2 days I updated my Time Machine Backup and applied all available patches through software updates, preparing for Lion.
    Following the symptoms:
    - calendar app only shows all meeting with minutes locked on xx:08. Suppose I add a new meeting, 14:30, it will shows 14:08 (picture below)
    - adding a new meeting, I cannot change the minutes field, it is locked on xx:08
    - Mail app, independent of what time I receive a new message, it will show xx:08 (picture below)
    - my screen saver shows the time locked on 11:08 (no picture)
    but
    - through terminal, date command shows the correct time and the finder clock also shows correct time (picture below)
    Tried already to play with system preferences date & time, reboot, but nothing changed.
    Is it a bug, virus (probably not)?
    Anyone, please help?

    fditt wrote:
    Tried already to play with system preferences date & time, reboot, but nothing changed.
    That's close to the likely culprit. 
    Try System Prefs > Language & Text > Formats.  In the Times section, click Customize.
    Make sure everything there is a blue "placeholder," not a specific time (like "08"):

  • Help needed with time capsule

    I have a 3tb Time capsule and Mac set up with Virgin Hub
    Back ups work fine but most times i try to acces anything on the time capsule it comes up with not available
    It works if i restart or boot through airport utilty
    I have the data file with a music sub folder and have a 1 drive plugged to usb both of which seem to be a little to illusive
    can you help
    Thanks
    n

    This is a bug on Lion and 7.6 firmware and greater on the TC..
    There is no fix.. Ring applecare and ask why it does that.
    I suspect Apple will have no idea. Although we have plenty of posts here with the same issue.
    I can suggest a bunch of stuff.. nothing from what I gather is a cure.. but it might help.. perhaps this will be auto fixed in ML.
    I stick with SL as it has decent networking btw.. and no issues.. !! If you are still on SL you should not have issues if you go back to 7.5.2 firmware on the TC.
    First off, tell us a bit more.
    Is the TC part of the network, bridged or router or setup independently of the network. Not sure what the virgin hub is.. but please describe the network a bit more.
    Try going back to 7.5.2 firmware.  Apparently can be very difficult for the most recent versions of TC but if you run lion you should also try it.. download the 5.6 airport utility if not already using that, and try to go back to earlier firmware.
    Other things..
    Reset the TC and use short no spaces names for TC and wireless. Pure alphanumeric.. no special characters. Is the TC main router.. ?? set the dhcp server to short lease time. Like 10min.. if the virgin hub is the router do the same in that.
    Are you connecting by wireless.. ?? Lock the wireless channels and use different name for 5ghz from 2.4ghz to prevent wireless clients jumping around.
    When you lose the TC next time.. open terminal and ping it.. by name and ip address.. tell me what happens.

  • Touch messing with Time/Date

    I have a 32 GB Touch, purchased relatively recently. Lately, I've noticed that it keeps changing the time and date, nearly invariably back to December 1969 or January 1970. The actual clock time is close, but typically off by a few hours. I've done multiple resets and restored the iPod at least 3 times since I first noticed the behavior. What seems to happen is that everything works OK for a few days until I need to recharge the battery. After taking the Touch off the charger, the time and date are changed back to the dawn of time.
    It appears others here have observed this problem, but I haven't seen any solution posted. I probably should take the Touch in to my nearest Apple store. Undoubtedly they will replace it, but I'm growing weary of reloading the whole thing, which takes several hours.
    Any other ideas before this goes back to the Daisy Hill iPod Farm?
    Message was edited by: Marc Feldesman

    I recently experienced this issue as well, and was able to fix it with little difficulty. Here's what I did.
    1. Disconnect your iPod from the computer.
    2. Make sure that the time and date on your computer is correct.
    3a. In iTunes, go to Edit => Preferences => Syncing.
    3b. You should see your device listed there, along with that same $#%& incorrect date and time. Select it and press "Remove Backup".
    4. Close out of and reopen iTunes.
    5. Reconnect your iPod. It will create a new backup to replace the one you just deleted, with the (hopefully) correct date and time, and your iPod's date and time will change to mirror that of your computer's.
    I hope that helps!

Maybe you are looking for

  • HT4061 is it possible to unlock a japan iphone and to know the service provider bought it second hand

    A friend of mine have received a second hand iphone bought in Japan and we try it here in the UAE unfortunately it was locked and we don't know the service provider.  Is there any possibility to check the service provider and have it unlock so he cou

  • F s v

    < MODERATOR:  Message locked.  Please read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting next time. Please use an appropriate subject.> hi sap masters i have a senario, pl have a lo

  • Query Designer - Key Figures on the Rows

    Hi experts, I inserted in a query the key figures into the rows. I would like to see on the report the "KEY" of these key figures and not the "TEXT", but I can't find a way to do that. Can anyone help me? TIA c.

  • How/where to key in computer description for iMac or Macbook pro

    Hi, where can i key in the computer description for iMac ?' the relevant for window under computer properties PS: Not the computer name under sharing

  • Missing standard smart playlists

    All my playlists disappeared when i updated to the latest version of Itunes (11.1.2.32).  I had saved the standard playlists that i had crearted but how can i retrieve the standard smart playlists that itunes normally provides?