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!

Similar Messages

  • What's the difference between soft reset and hard reseg on an iPhone? Does a soft reset delete my pictures or mess with my data?

    Does a soft reset delete my pictures or mess with my data?

    These Terms are Often bandied about...
    There is NO Soft or Hard Reset... There is  Reset or Restore...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430
    See Here for Restore...
    http://support.apple.com/kb/HT1414

  • Upgrading raid firmware messes with drive data?

    I need to upgrade both 1.5.0 controllers on one of my x raid so that later I can use then on a second x raid with 750gb drives. the second x raid is having lots of problems losing connection to a xserver and I need to pinpoint to see if it is a controller problem.
    the question is. upgrading the 1.5.0 controllers to 1.5.1 messes with the data and settings on a simple raid5 on both sides of the raid storage? I don't have the time and mainly space to backup the data.
    thanks.
    Nuno

    No upgrading the controller firmware doesn't affect the drives/arrays or data.
    That's not to say you shouldn't have a viable backup of your data, but it's not a prerequesite for updating the firmware. :)

  • 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

  • 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

  • I'm not bald yet, but will be after messing with Time Machine

    Intel iMac Rev B. Two external drives, both less than 6 months old, one less than a week old. Maxtor 750GB, Seagate Freeagent Pro 1TB (bought last week).
    Per previous support posts, Time Machine stopped working smoothly after my update from 10.5.2 to 10.5.3. After working that issue out, it seemed to be working again.
    Long story short, I can't get TM to work on either drive. I have erased, re-partitioned (in the correct format for the Intel iMac), restarted TM and I get a multitude of issues. Sometimes the initial back up goes through, sometimes it doesn't. Sometimes the backups work as they should for a week, and sometimes, stop working after the first incremental backup.
    I went out last week and bought the Seagate to confirm the problem wasn't a hard drive issue. I'm finding it next to impossible that I've got two bad drives that won't work with Time Machine, so I clearly think this is an Apple Software issue. As now I've got the Maxtor drive partitioned and doing A and B backups with SuperDuper.
    It's getting expensive buying external harddrives. What other support for Time Machine is out there?
    **Note - I have not applied the latest 10.5.5 update yet....anybody find that Time Machine works better with that update??**
    Thanks.
    CP

    I let TM run through the night, here are another set of errors:
    9/17/08 8:27:45 PM /System/Library/CoreServices/backupd[4519] Starting standard backup
    9/17/08 8:27:45 PM /System/Library/CoreServices/backupd[4519] Volume at path /Volumes/Untitled 1 does not appear to be the correct backup volume for this computer. (Cookies do not match)
    9/17/08 8:27:51 PM /System/Library/CoreServices/backupd[4519] Backup failed with error: 18
    9/17/08 8:28:41 PM /System/Library/CoreServices/backupd[4519] Backup requested by user
    9/17/08 8:28:41 PM /System/Library/CoreServices/backupd[4519] Starting standard backup
    9/17/08 8:28:42 PM /System/Library/CoreServices/backupd[4519] Backing up to: /Volumes/Untitled 1/Backups.backupdb
    9/17/08 8:28:42 PM /System/Library/CoreServices/backupd[4519] Ownership is disabled on the backup destination volume. Enabling.
    9/17/08 8:28:43 PM /System/Library/CoreServices/backupd[4519] Event store UUIDs don't match for volume: Macintosh HD
    9/17/08 8:28:48 PM /System/Library/CoreServices/backupd[4519] Backup content size: 225.7 GB excluded items size: 2.1 GB for volume Macintosh HD
    9/17/08 8:28:48 PM /System/Library/CoreServices/backupd[4519] No pre-backup thinning needed: 268.30 GB requested (including padding), 931.15 GB available
    9/17/08 8:28:48 PM /System/Library/CoreServices/backupd[4519] Waiting for index to be ready (909 > 0)
    9/17/08 8:30:13 PM /System/Library/CoreServices/backupd[4519] Error: (-36) copying /Applications/Amadeus II.app/Contents/Resources/spec.icns to /Volumes/Untitled 1/Backups.backupdb/cpstaley/2008-09-17-202843.inProgress/C156F7E0-03C5-4759-A57 4-17A29DFC28AA/Macintosh HD/Applications/Amadeus II.app/Contents/Resources
    9/17/08 8:30:13 PM /System/Library/CoreServices/backupd[4519] Stopping backup.
    9/17/08 8:30:14 PM /System/Library/CoreServices/backupd[4519] Error: (-8062) copying /Applications/Amadeus II.app/Contents/Resources/spec.icns to /Volumes/Untitled 1/Backups.backupdb/cpstaley/2008-09-17-202843.inProgress/C156F7E0-03C5-4759-A57 4-17A29DFC28AA/Macintosh HD/Applications/Amadeus II.app/Contents/Resources
    9/17/08 8:30:15 PM /System/Library/CoreServices/backupd[4519] Copied 6 files (184.0 MB) from volume Macintosh HD.
    9/17/08 8:30:15 PM /System/Library/CoreServices/backupd[4519] Copy stage failed with error:11
    9/17/08 8:30:21 PM /System/Library/CoreServices/backupd[4519] Backup failed with error: 11
    9/17/08 8:39:07 PM /System/Library/CoreServices/backupd[4552] Starting standard backup
    9/17/08 8:39:08 PM /System/Library/CoreServices/backupd[4552] Volume at path /Volumes/Untitled 1 does not appear to be the correct backup volume for this computer. (Cookies do not match)
    9/17/08 8:39:13 PM /System/Library/CoreServices/backupd[4552] Backup failed with error: 18
    9/17/08 8:50:31 PM /System/Library/CoreServices/backupd[4563] Backup requested by user
    9/17/08 8:50:31 PM /System/Library/CoreServices/backupd[4563] Starting standard backup
    9/17/08 8:50:44 PM /System/Library/CoreServices/backupd[4563] Backing up to: /Volumes/Untitled 1/Backups.backupdb
    9/17/08 8:50:46 PM /System/Library/CoreServices/backupd[4563] Event store UUIDs don't match for volume: Macintosh HD
    9/17/08 8:51:07 PM /System/Library/CoreServices/backupd[4563] Backup content size: 225.7 GB excluded items size: 2.1 GB for volume Macintosh HD
    9/17/08 8:51:07 PM /System/Library/CoreServices/backupd[4563] No pre-backup thinning needed: 268.30 GB requested (including padding), 930.96 GB available
    9/17/08 10:55:09 PM /System/Library/CoreServices/backupd[4563] Error: (-36) copying /Users/cpstaley/Desktop/Downloads Folder/Mid-A 2007/Pictures/mida06plcv.tif to /Volumes/Untitled 1/Backups.backupdb/cpstaley/2008-09-17-202843.inProgress/8BE09425-3E04-4BB8-A73 2-B4ED95F162E1/Macintosh HD/Users/cpstaley/Desktop/Downloads Folder/Mid-A 2007/Pictures
    9/17/08 10:55:09 PM /System/Library/CoreServices/backupd[4563] Stopping backup.
    9/17/08 10:55:09 PM /System/Library/CoreServices/backupd[4563] Error: (-8062) copying /Users/cpstaley/Desktop/Downloads Folder/Mid-A 2007/Pictures/mida06plcv.tif to /Volumes/Untitled 1/Backups.backupdb/cpstaley/2008-09-17-202843.inProgress/8BE09425-3E04-4BB8-A73 2-B4ED95F162E1/Macintosh HD/Users/cpstaley/Desktop/Downloads Folder/Mid-A 2007/Pictures
    9/17/08 10:55:09 PM /System/Library/CoreServices/backupd[4563] Copied 96097 files (22.9 GB) from volume Macintosh HD.
    9/17/08 10:55:09 PM /System/Library/CoreServices/backupd[4563] Copy stage failed with error:11
    9/17/08 10:55:15 PM /System/Library/CoreServices/backupd[4563] Backup failed with error: 11
    9/17/08 11:39:07 PM /System/Library/CoreServices/backupd[4563] Starting standard backup
    9/17/08 11:39:19 PM /System/Library/CoreServices/backupd[4563] Volume at path /Volumes/Untitled 1 does not appear to be the correct backup volume for this computer. (Cookies do not match)
    9/17/08 11:39:24 PM /System/Library/CoreServices/backupd[4563] Backup failed with error: 18
    9/18/08 12:39:06 AM /System/Library/CoreServices/backupd[4563] Starting standard backup
    9/18/08 12:39:18 AM /System/Library/CoreServices/backupd[4563] Volume at path /Volumes/Untitled 1 does not appear to be the correct backup volume for this computer. (Cookies do not match)
    9/18/08 12:39:23 AM /System/Library/CoreServices/backupd[4563] Backup failed with error: 18
    9/18/08 1:39:06 AM /System/Library/CoreServices/backupd[4563] Starting standard backup
    9/18/08 1:39:18 AM /System/Library/CoreServices/backupd[4563] Volume at path /Volumes/Untitled 1 does not appear to be the correct backup volume for this computer. (Cookies do not match)
    9/18/08 1:39:23 AM /System/Library/CoreServices/backupd[4563] Backup failed with error: 18
    9/18/08 2:39:06 AM /System/Library/CoreServices/backupd[4563] Starting standard backup
    9/18/08 2:39:18 AM /System/Library/CoreServices/backupd[4563] Volume at path /Volumes/Untitled 1 does not appear to be the correct backup volume for this computer. (Cookies do not match)
    9/18/08 2:39:23 AM /System/Library/CoreServices/backupd[4563] Backup failed with error: 18
    9/18/08 3:39:05 AM /System/Library/CoreServices/backupd[4563] Starting standard backup
    9/18/08 3:39:18 AM /System/Library/CoreServices/backupd[4563] Volume at path /Volumes/Untitled 1 does not appear to be the correct backup volume for this computer. (Cookies do not match)
    9/18/08 3:39:23 AM /System/Library/CoreServices/backupd[4563] Backup failed with error: 18
    9/18/08 4:39:05 AM /System/Library/CoreServices/backupd[4563] Starting standard backup
    9/18/08 4:39:17 AM /System/Library/CoreServices/backupd[4563] Volume at path /Volumes/Untitled 1 does not appear to be the correct backup volume for this computer. (Cookies do not match)
    9/18/08 4:39:22 AM /System/Library/CoreServices/backupd[4563] Backup failed with error: 18
    9/18/08 5:39:05 AM /System/Library/CoreServices/backupd[4563] Starting standard backup
    9/18/08 5:39:17 AM /System/Library/CoreServices/backupd[4563] Volume at path /Volumes/Untitled 1 does not appear to be the correct backup volume for this computer. (Cookies do not match)
    9/18/08 5:39:22 AM /System/Library/CoreServices/backupd[4563] Backup failed with error: 18
    I'm backing up again with SUperDuper and then will move onto 10.5.5. Hopefully the errors are resolved with the update.
    CP

  • 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

  • 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 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());
         }

  • When using firefox on my MAC desktop the MAC toolbar with time, date, volumn ect. disappears. I want to be able to see it. How can I fix this?

    While in firefox I am able to click on finder and see the missing toolbar. As soon as I go back to firefox it disappears.

    Make sure that you do not run Firefox in full screen mode (press F11 or Fn + F11 to toggle; Mac: Command+Shift+F).
    *https://support.mozilla.org/kb/how-to-use-full-screen

  • Auto update of time/date in a table cell in pages

    I used to be able to do this in older versions.
    In pages when I have a table cell with time/date I would like to have the current date show up every time I open the document. Not on every date in the document, but just in a set cell in a  table.

    Hi Brian,
    Use the NOW function.
    Menu > Insert > Formula > Edit Formula
    Regards,
    Ian.

  • Fixing a Messed-With Library

    I tried in August to make a slide show out of an album, noticed that some of the photos were not actually appearing, and the slide show won't start. Just now getting around to fixing it, found a notice that it is not OK to mess with the data in my iPhoto library, as it will make images not show up. Needless to say, I have messed with the data, now how do I go about fixing it? I renamed stuff, probably moved it around, all of the things you aren't supposed to do. Now what?

    The reason I went in and changed names and such was to more easily find the photos to attach in an email or to upload to a photo site.
    There is a much better way to do this than fishing around in the iPhoto Library folder.
    Use iPhoto to select the photos for your email (or to upload to a website, or to burn to disc for printing). Then Export the photos to a folder on your desktop. During the export you can also resize them, to make them smaller for email or websites. You can also have the exports renamed by the iPhoto title or album name. Use the exported copies to attach to your email or website. When you're done you can delete the desktop copies, as the full-sized files are still safe inside your iPhoto library.

  • Graphing Time Data

    I have a report that pulls data from a phone system database.  Each record has the amount of time spent talking, waiting, holding and ringing for each person as numeric fields showing the total number of seconds for a block of calls.  I've been able to create the report and write formulas that convert the seconds for each field into a time field.  But of course it converts it to a specific date which is not what I really want.  If they run the report for a large time period like a month, then there will likely be more than 24 hours in the hour position which the function trucates to a single day.
    As a work-around I've been able to use formulas to calculate the number of hours/minutes/seconds and then create more formulas to calculate the summary and grand totals for each person.  Not the best solution, but it works.  My problem is that now they would like to add a graph to the report showing the average total time spent on the phone for each person.
    Of course I can't graph my calculated time since the formulas result in a String value.  And it doesn't seem to want to let me sum a time field so I can graph a true time value either.  I thought maybe I could convert my finished average time per person into a time value at the group level since that wouldn't be over 24 hours, but that didn't work either.
    Was hoping someone would have some experience in working with time data.  Any suggestions would be helpful.

    Hi Jay,
    Thanks for the response, but I don't think I explained my problem clearly.  Here's how my data is stored (sorry about the lack of columns, so I separated them with "|"):
    Phone Rep ||   Day   ||   Talk Time ||   Hold Time  ||  Total Time
    John Doe   ||    1-1-09 ||  5,000 sec||   1,200 sec   ||  6,200 sec
    John Doe   ||    1-2-09 ||  6,000 sec ||  2,000 sec  ||   8,000 sec
    Total          ||             11,000 sec ||  3,200 sec  ||  14,200 sec
    The read out on the report should read:
    Phone Rep   ||   Total Talk Time  ||   Total Hold Time  ||  Grand Total Time
    John Doe      ||     3:03:20       ||          0:53:20       ||        3:56:40
    Avg/day        ||     1:31:40         ||        0:26:40          ||     1:58:20
    When I convert the time in seconds to a time variable with TimeSerial(hh,mm,ss) it gives me the time in the correct format, but it's listed as simply a time of day.  If the report runs for many days, then the time values could require the hours to go over 24 such as 155:35:26 to reflect a month's worth of calls.  My formulas that calculate the read out as shown above can do this with no problem.  The problem occurs when I try to graph the average at the bottom.  I can't seem to find a way to chart the average time per day.
    I've tried summing the total time in a group and then find a way to format the y axis to show the time format.  I've tried creating a formula to convert the individual record into a time format and then summing that for the graph, but it doesn't give me the option to sum, only to count or other non-numeric options.  I've also tried creating a formula to convert the finished average calculation into a field that can be graphed by itself, but when I insert the chart it doesn't list my formula in the available fields to graph.
    I would even be willing to create the chart in a sub report that somehow pulls in just the total average and then tries to graph that, or use the Microsoft OLE chart object to try and push the data to that and insert the finished chart, but having never done either of these, I was hoping for an easier solution.
    Thanks
    Edited by: Ken Skinner on Jan 25, 2009 8:55 PM
    Edited by: Ken Skinner on Jan 25, 2009 8:59 PM

  • Arithmetic operations with time

    Hi all,
    I want to do arithmetic operations with time data types. Like
    d1,d2,d3 are of date types
    long diff = d1.getTime()-d2.getTime()-d3.getTime();
    long hours = diff/(60 * 60 * 1000) % 24);
    long mins = diff / (60 * 1000) % 60;
    long secs =  diff / 1000 % 60;
    When i am entering time for d1 as 4:00:00, d2 as 9:00:00 and d3 as 1:00:00, i am getting hours & mins in negative values.
    Can anyone suggest how to do this operation

    hi sahithi,
    when d1 d2 and d3 are date types how can u enter or set 4:00:00 to it, which is time representation.
    what exactly u are trying to do ...
    and it is obvvious that d1-d2-d3 is 4:00:00 -9:00:00 -1:00:00 here u can see that 9 is greater and its sign is predominant according to this expression. hence diff is negative value. and then as usuall hours and secs are also in negative.
    any how follow below code you can solve yoru issue i hope
    String fromdate = "11/03/14 09:29:58";
        String enddate = "11/03/14 09:33:43";
        Custom date format
        SimpleDateFormat format = new SimpleDateFormat("yy/MM/dd HH:mm:ss");
        Date d1 = null;
        Date d2 = null;
        try {
            d1 = format.parse(dateStart);
            d2 = format.parse(dateStop);
        } catch (ParseException e) {
            e.printStackTrace();
        long diff = d2.getTime() - d1.getTime();
        long diffSeconds = diff / 1000 % 60;  // for seconds
        long diffMinutes = diff / (60 * 1000) % 60; // for minute
        long diffHours = diff / (60 * 60 * 1000); // for hours
    wdComponentAPI.getMessageManager().reportSuccess
    ("Seconds---> " + diffSeconds +"sec");
    wdComponentAPI.getMessageManager().reportSuccess
    ("Minutes---> " + diffMinutes + " min.");
    wdComponentAPI.getMessageManager().reportSuccess
    ("Hours--->" + diffHours + " hrs.");
    Regards
    Govardan

Maybe you are looking for