Time difference - going mad...

Hi all!
I just need the difference between two timestamps but there's always one hour too much...
private static SimpleDateFormat timerFormat = new SimpleDateFormat("HH:mm:ss");
long startTime = System.currentTimeMillis();
// Do some processing that takes a few minutes
long elapsedTime = System.currentTimeMillis() - startTime;
System.out.println(timerFormat.format(new java.util.Date(elapsedTime)));But this always gives me things like
01:04:23
I always thought a new Date(0) would give me
Thu Jan 01 00:00:00 CET 1970
but it always tells me
Thu Jan 01 00:00:00 CET 1970
I'm lost, please help me.
Regards
Carsten

If this is really just a few minutes of processing, conversion into a Date object seems a bit of overkill. Just convert the elapsed time in milliseconds directly. Unless you need to time to go into a database I suppose..., but then why not just store the milliseconds time?

Similar Messages

  • Analyzing data for max peak time differences after sampling

    In the VI attached, each channel is measuring a certain moment of
    acceleration, which will be displayed as a global max on the graph.
    Ideally what I would like to happen is for
    both arrays to be searched for their highest peak (global max) and for
    the time difference between these two peaks to be shown on the display
    after the program has ended. However, what I have right now is a
    sort-of real time measurement. Any suggestions on going about doing this?
    Thanks,
    John
    Solved!
    Go to Solution.
    Attachments:
    TimePeakTest-cp-2.vi ‏74 KB

    Thanks for your help Stephen!
    I've made those changes, but after the highest peak from each channel occurs, the time difference indicator shows the time diff. between the two peaks only for a split second, and then the indicator returns back to zero. I would like for this max peak-max peak time difference to somehow remain on the indicator after the program has stopped running, because its value, whether it is below or above a certain constant, will need to indicate a true/false statement.
    Any help is greatly appreciated.
    Thanks,
    John
    Attachments:
    TimePeakTest-cp-2.vi ‏74 KB

  • How to measure time difference between zero crossing of a sine wave and rise time of a pulse on a same graph?

    I have a 50Hz sine wave and a pulse signal on a same graph. The phase difference between two is between 0-90 degrees.
    Now I need to calculate the time difference between (when the sine wave crosses zero volts) and (when the pulse rises). The frequency will stay approximately same for both signals.
    The application is for a three phase generator. In simple words, when the time difference between the zero-crossing of sine wave and the pulse rises increases, that means that the load on the generator has increases.
    I am a beginner user of LabView (version 9, 2009), maybe it is a very simple problem but I've been pulling my hair out for the last few days and coudln't figure anything out. Any help would be greatly appreciated. I am using DAQ USB-6008 to measure these voltages and pulse from the generator and a sensor
    I have attached a jpg (a graph that i just made with excel to explain). The time 't' is what I am trying to measure
    Cheers
    Awais 
    Message Edited by awais.h on 03-30-2010 11:20 PM
    Message Edited by awais.h on 03-30-2010 11:21 PM
    Solved!
    Go to Solution.

    Hi
    Thanks for the code but I'm afraid it won't work. Like you said the probability of choosing a value that is on both graphs may not happen. This is something that I would like the code to do automatically.
    But I did use the previous code posted and made some modifications to it and it seems to work perfectly. Now the next thing is to be able to get just that one value that tells you the first time difference.
    Here is what I get using that code.
    As you can see from the t Values. I only need the one that is highlighted. If there is a way to filter out the rest it would be great.
    I was thinking of a while loop and as soon as the value is higher than 3E-5 it would store the number and stop the loop, but I'm not too familiar with arrays in labview.
    Here is the the code modified.
    As you can see, it wasn't that big of a modification and it still is your code.
    I will keep trying.
    Thanks for the help
    Attachments:
    FinalShockSpeed.vi ‏55 KB

  • Lost connection detection time difference

    Having a problem understanding why a broken JDBC connection is detected under Windows much quicker than it is under Linux.
    I have an process that opens a connection to MSSQL using JDBC, a Stored Procedure is then executed and the result set
    processed, this execute step is repeated every 60 seconds or so. If any exception is thrown then resources are closed, sleep
    for 60 seconds, the connection is reopened (if fails then sleeps and repeats), once reopened the process continues. There is logging throughout
    the above steps.
    On Windows Vista 64bit Sun Java platform the process runs fine, if I deliberately break the connection (stop MSSQL service), the process
    logs a problems within 60 seconds and starts handling the error, when the MSSQL comes back then within 60 seonds the connection is remade
    and the process continues as expected.
    Under Ubuntu 10 64bit both Sun and OpenJDK the process runs fine, until the connectionis broken, as it takes about 17 minutes for the exception to be thrown
    for the broken connection (stopped MSSQL) to be detected, as opposed to under Windows taking seconds. Once detected then the process works as expected, retrying
    and reconnecting as it should.
    The libs and code used are the same the only difference between the windows and linux versions are the logging path parameter, have tried with different versions of Java
    and with different MSSQL JDBC drivers.
    What could be the reason for the time difference in the lost connection detection between Windows and Linux? Any help tips would be most welcome.
    Thanks.

    The connection is only made once and used throughout, it is only closed if there is a problem. This runs absolutely fine with logging for weeks, the execute and processing take millisecondsIt is pointless to keep the connection in that situation. Create it every time.
    Doing that might even fix your problem. But regardless you should still not keep it.
    Have jujst checked the timings and if the db connection is broken the on Linux (Ubuntu) the exception generated by step 4. takes up to 15 minutes 35 seconds to move on to step 7. on Windows though it is instant, there is a log message output prior to the execute statement this outputs then the exeception logged.You have an existing connection.
    Then you attempt a request which I am guess takes 17 minutes to timeout. (That happens because you are testing by stopping the server.)
    That is the problem.
    First verify the connection url. It might have timeout values in it.
    If not then the next most likely cause is that someone changed the OS (not java) TCP timeout values. Bad idea if they did. And the only way to fix is to change them back to something reasonable. You can code around this by using two threads. One that sets a timer and the other that runs the request. If the timer fires then attempt to cancel the request (see the jdbc api.)

  • Stopping a while loop using the time difference of two tick counts

    Hi Guys,
    I'm currently writing a code which test how long does it take for a formula node to perform its operation. The program uses a while loop to perform the calculation, and the program stops after calculating when tick count has reached 10 seconds. The program then displays the number of iterations it does in 10 seconds. 
    So initially I created 2 frames of sequence structure. In my first frame I have my initial tick count, and in my second frame I have my final tick count and the while loop. I used the subtract function and divide the output by 1000 to get the time difference. Then using the comparison function, I set if output > 10 then the program should stop, to do this I linked the output of the comparison function to the stop button inside the while loop. 
    However, when I tried to run the code, the program just didn't run. Hence I created a similar program which puts the last tick count in new frame sequence. When I ran this code, the program never stopped. 
    Do you guys have any idea what went wrong with my codes.
    Thank you!
    Erry
    Solved!
    Go to Solution.
    Attachments:
    1. Tick Count.vi ‏27 KB
    tickcoun2.vi ‏27 KB

    Dataflow!
    In both VI's the stop terminal of the while loop is controlled by a boolean whose source is ouside of the while loop.  So that loop will either run once, or run forever, depending on the value of the boolean that is calculated before the loop starts and shows up at the tunnel going into the loop.
    I would recommend looking at the online LabVIEW tutorials
    LabVIEW Introduction Course - Three Hours
    LabVIEW Introduction Course - Six Hours

  • Calculate time difference in Labview from excel file

    I am reading in values from a excel files, the file contains date and time data in one cell, then either an On or Off value in the cell next to it. I would like to find the time difference between the on and the off cycles. The VI I have so far brings in the Excel file but I don't know how to subtract the dates. Any help would be appreciated. I have attached the vi and hopefully I can attach and example excel file.
    Attachments:
    Hobo Import.vi ‏156 KB

    Hi Bryan!
    I made a small VI (in LabVIEW 7.1) that converts to strings (of your format) to timestamp datatype and then subtracts them resulting in a difference measured in seconds. There might be a more optimal way to do this in your application, but I thought I'd at least try to contribute. Also, notice that there is a Y3K bug in there :-)
    Hope this helps!
    Travis H.
    National Instruments
    Travis H.
    LabVIEW R&D
    National Instruments
    Attachments:
    FormattoTimeStamp.vi ‏38 KB

  • Partner going mad because he's convinced I've tried to gain access to his iPad 4 . It's disabled for 5 mins after he entered the wrong passcode just once . Is this a glitch? I haven't touched it ! Please help?

    Ok .... My partner is going mad because he is convinced I have tried to access his iPad 4. He typed in the wrong pass code just once and it has disabled itself for 5 mins leaving him convinced that I have tried to get into it . I haven't. He is really angry and I've done nothing . Now he has turned the wifi off and my kids can't play their xboxes .
    Is this a glitch possible on ipad4?
    What other possible causes are there?
    The iPad has been banged screen down on hard surface a couple of times..... Could this attribute to the issue?
    Please will someone answer me? He wont believe me and I haven't touched anything

    If the iPad has been "banged down on hard surface" it is possible that just a touch of the screen, or coming near the screen, may have resulted in a false entry. Or it could be the kids.
    Either way you need to dump your partner and get your kids out of that environment. Your partner has anger management issues and needs counseling.

  • Time differences between camera and iMovie

    Hi,
    When I import footage from my Mini-DV camera into iMovie I am seeing a difference between the time displayed on the tape and time displayed in iMovie. The camera says 48 seconds while iMovie says 44 seconds. I thought that it might be related to the framerate of the video in iMovie, but I have changed this to 25 fps which matches the video camera and am still seeing a different time. The framerate needs to be perfect as the footage is going to be shown side-by-side with a animated graph which builds with time.
    Does anyone have any idea what could cause this time difference?
    Thanks

    < scratching head > we had something about a NTSC/PAL issue.. hmm.. ?
    if possible, open an existing PAL project (window titles says DV-PAL), save it under a diff. name, import into that project, delete the not wanted parts..
    another option is, quit iMovie, delete ~/Library/Preferences any com.apple.iMovie.plist file.. relaunch iM.. that 'resets' iM... sometimes, it starts to stumble..

  • Time Difference Span Over Midnight

    I am trying to calculate time difference for things that happen before and after midnight...
    Example - Call Time of 23:58:22 and an Arrival Time of 00:02:50...
    Gets all screwed up with <cfset response = DateDiff("s", calltime,artime)>
    I need the final value in seconds...
    Can't seem to figure this one out...
    Thanx,
    Merle

    I'm going to try elaborate further and add some coding for any help to others...
    First things first... CFFORM
    Time Vaildation Errors on the seconds...
    <cfinput type="Text" name="WhateverTime" required="Yes" message="Please Enter Time (HH:MM:SS)" size=6 validate="time">
    It will not take 26:11:22 nor will it take 13:76:33 - but it would take 17:55:77 (obviously 77 is no good)
    This will accept the entry but error on Database Insertion/Validation...
    Here is code to force appropriate time entry - to avoid the user error - data entry problem...
    It forces only good numbers...
    <cfselect name="aiqtimeh" class=verd8>
       <option value="00">00</option>
       <option value="01">01</option>
       <option value="02">02</option>
       <option value="03">03</option>
       <option value="04">04</option>
       <option value="05">05</option>
       <option value="06">06</option>
       <option value="07">07</option>
       <option value="08">08</option>
       <option value="09">09</option>
       <option value="10">10</option>
       <option value="11">11</option>
       <option value="12">12</option>
       <option value="13">13</option>
       <option value="14">14</option>
       <option value="15">15</option>
       <option value="16">16</option>
       <option value="17">17</option>
       <option value="18">18</option>
       <option value="19">19</option>
       <option value="20">20</option>
       <option value="21">21</option>
       <option value="22">22</option>
       <option value="23">23</option>
    </cfselect> :
    <cfselect name="aiqtimem" class=verd8>
       <option value="00">00</option>
       <option value="01">01</option>
       <option value="02">02</option>
       <option value="03">03</option>
       <option value="04">04</option>
       <option value="05">05</option>
       <option value="06">06</option>
       <option value="07">07</option>
       <option value="08">08</option>
       <option value="09">09</option>
       <option value="10">10</option>
       <option value="11">11</option>
       <option value="12">12</option>
       <option value="13">13</option>
       <option value="14">14</option>
       <option value="15">15</option>
       <option value="16">16</option>
       <option value="17">17</option>
       <option value="18">18</option>
       <option value="19">19</option>
       <option value="20">20</option>
       <option value="21">21</option>
       <option value="22">22</option>
       <option value="23">23</option>
       <option value="24">24</option>
       <option value="25">25</option>
       <option value="26">26</option>
       <option value="27">27</option>
       <option value="28">28</option>
       <option value="29">29</option>
       <option value="30">30</option>
       <option value="31">31</option>
       <option value="32">32</option>
       <option value="33">33</option>
       <option value="34">34</option>
       <option value="35">35</option>
       <option value="36">36</option>
       <option value="37">37</option>
       <option value="38">38</option>
       <option value="39">39</option>
       <option value="40">40</option>
       <option value="41">41</option>
       <option value="42">42</option>
       <option value="43">43</option>
       <option value="44">44</option>
       <option value="45">45</option>
       <option value="46">46</option>
       <option value="47">47</option>
       <option value="48">48</option>
       <option value="49">49</option>
       <option value="50">50</option>
       <option value="51">51</option>
       <option value="52">52</option>
       <option value="53">53</option>
       <option value="54">54</option>
       <option value="55">55</option>
       <option value="56">56</option>
       <option value="57">57</option>
       <option value="58">58</option>
       <option value="59">59</option>  
    </cfselect> :
    <cfselect name="aiqtimes" class=verd8>
       <option value="00">00</option>
       <option value="01">01</option>
       <option value="02">02</option>
       <option value="03">03</option>
       <option value="04">04</option>
       <option value="05">05</option>
       <option value="06">06</option>
       <option value="07">07</option>
       <option value="08">08</option>
       <option value="09">09</option>
       <option value="10">10</option>
       <option value="11">11</option>
       <option value="12">12</option>
       <option value="13">13</option>
       <option value="14">14</option>
       <option value="15">15</option>
       <option value="16">16</option>
       <option value="17">17</option>
       <option value="18">18</option>
       <option value="19">19</option>
       <option value="20">20</option>
       <option value="21">21</option>
       <option value="22">22</option>
       <option value="23">23</option>
       <option value="24">24</option>
       <option value="25">25</option>
       <option value="26">26</option>
       <option value="27">27</option>
       <option value="28">28</option>
       <option value="29">29</option>
       <option value="30">30</option>
       <option value="31">31</option>
       <option value="32">32</option>
       <option value="33">33</option>
       <option value="34">34</option>
       <option value="35">35</option>
       <option value="36">36</option>
       <option value="37">37</option>
       <option value="38">38</option>
       <option value="39">39</option>
       <option value="40">40</option>
       <option value="41">41</option>
       <option value="42">42</option>
       <option value="43">43</option>
       <option value="44">44</option>
       <option value="45">45</option>
       <option value="46">46</option>
       <option value="47">47</option>
       <option value="48">48</option>
       <option value="49">49</option>
       <option value="50">50</option>
       <option value="51">51</option>
       <option value="52">52</option>
       <option value="53">53</option>
       <option value="54">54</option>
       <option value="55">55</option>
       <option value="56">56</option>
       <option value="57">57</option>
       <option value="58">58</option>
       <option value="59">59</option>  
    </cfselect>
    So here lies the orignal problem...
    Data entry for the report is by hand...
    So it is not done automatically...
    A CreateTime Now() will not work for any entered time...
    As it might be a report from a week ago... Or as related spans across midnight...
    With this reporting system - there is no real chance of moving out further than 1 day - an incident is mitigated without spanning several days...
    If times are all lined up properly - and not spanning over midnight - no problem...
    ie:
    <cfif calltime LTE ConcTime>
    <cfset callduration = DateDiff("s", calltime,conctime)> - (forgive the different time notes calltime / enrtime - there are several that are being tracked/used)
    </cfif>
    <cfif calltime GTE ConcTime>
    <cfset sec=DateDiff("s",calltime,conctime)>
    <cfset days=int(sec/86400)>
    <cfset hours=int((sec-(days*86400))/3600)>
    <cfset minutes=int((sec-(days*86400)-(hours*3600))/60)>
    <cfset seconds=(sec-(days*86400)-(hours*3600)-(minutes*60))>
    <cfset callduration=((hours*60*60)+(minutes*60)+seconds)>
    </cfif>
    If Call time is Less ThanConclusion Time - Works fine... Dandy - if on same day...
    If not - GTE code is invoked...
    Took someone to figure out the math etc...
    From the Forum - if u are passing the dates...
    <cfset oneDateTime = createDateTime(2011,04,23,09,35,26)>
    <cfset twoDateTime = createDateTime(2011,04,24,12,15,13)>
    <cfoutput>#dateDiff("s",oneDateTime,twoDateTime)#</cfoutput>
    I'm not passing the dates - and would have to create the same
    <cfif calltime LTE ConcTime> etc...
    or
    <cfif calltime GTE ConcTime> etc...
    To start manipulating the date functions...
    So it is half a dozen of one or another...
    Hopefully this helps anyone with a similar problem...
    Merle

  • Write time difference to spreadsheet

    Hello!
    I am having trouble writing the time difference between my set of six swiches to a spreadsheet. I would like only six values to appear on the spreadsheet, the differences between the start and stop of each respective set of switches. I have tried what I normally do when I write to a spreadsheet but was running into issues...
    Thanks for your help!
    Solved!
    Go to Solution.
    Attachments:
    twelve_working_switches.vi ‏34 KB

    Blizabeth,
    I believe that we can assume that all switches start in the same configuration and therefore have the same start time, no?  That is the call to the Get Date/Time in Seconds.vi at the beginning (only one needed).  Then, we are simply looking for when the value changes for each individual switch.  The time difference is recorded in the array of 6 doubles.  If you need to, you can basically duplicate this for the second set of channels as none of the code changes.
    I suggest strongly that you consider reading up on Labview and reviewing the examples that are provided in the LV shipment.  Johnson and Jenning's book Labview: Graphical Programming is an excellent start.  However, I believe that you may be having issues that might be best resolved by going over books on some of the fundamental aspects of programming.  I am not trying to be difficult, but as for(imstuck) pointed out, I believe that I probably gave you the solution.  Try going through it over the next day or so and see if you are still having trouble understanding how to apply this.  If you still are, then we most likely have an issue with 1) the communication of the requirements of you project or 2) a simple misunderstanding about how exactly to use Labview.  
    I am sorry, I know this doesn't help in the near term, but I think that spending a little time understanding the problem and the solution both for(imstuck) and I proposed (which are essentially the same) will help you immensely .  
    Peace, Matt 
    Matt Richardson
    Certified LabVIEW Developer
    MSR Consulting, LLC

  • Time difference by date by time range - a better way?

    Someone suggested this is a better place for my question:
    Hi
    I need to display the difference in time - every day for different time ranges,
    Example 1-2 pm, 4-5 pm, 7-8 pm. And I need the time difference in 2 dates in the past week for each of these ranges everyday.
    example
    Date Diff Range
    01/01/2007 00:01 1-2pm
    01/02/2007 00:03
    01/03/2007 00:10
    01/04/2007 00:05
    01/05/2007 00:23
    01/01/2007 00:10 4-5pm
    01/02/2007 00:13
    01/03/2007 00:11
    01/04/2007 00:15
    01/05/2007 00:23
    01/01/2007 01:10 7-8pm
    01/02/2007 00:13
    01/03/2007 00:10
    01/04/2007 00:11
    01/05/2007 00:21
    One way to achieve this is to have multiple unions for each day and each time range.
    Example:
    select
    from
    where dt_tm between
    to_date(to_char((sysdate-5),'mm/dd/yyyy')||' 13:00','mm/dd/yyyy hh24:mi:ss')and
    to_date(to_char((sysdate-5),'mm/dd/yyyy')||' 14:00','mm/dd/yyyy hh24:mi:ss')
    union
    select
    from
    where dt_tm between
    to_date(to_char((sysdate-5),'mm/dd/yyyy')||' 16:00','mm/dd/yyyy hh24:mi:ss')and
    to_date(to_char((sysdate-5),'mm/dd/yyyy')||' 17:00','mm/dd/yyyy hh24:mi:ss')
    union
    select
    from
    where dt_tm between
    to_date(to_char((sysdate-5),'mm/dd/yyyy')||' 19:00','mm/dd/yyyy hh24:mi:ss')and
    to_date(to_char((sysdate-5),'mm/dd/yyyy')||' 20:00','mm/dd/yyyy hh24:mi:ss')
    This will give me the required information for only one day - and that is for sysdate-5.
    I will have same nyumber of unions for each day.
    Is there a better way to accomplish the same?
    Any help appreciated.
    Thx!

    Hi
    Sorry for the late response but better late than never:::
    I have gotten the answer of getting data for previous 5 days. I have changed the time between statement and is given below(*).
    Here is a reply to all the questions you had asked in response to my questions.
    What data you have? What parameters are you going to input?
    I have already given sample data in my post.
    There are no input parameters.
    You are talking about the difference - between what is this difference?
    Difference is the difference between 2 timestamp datatypes in 2 different tables (as you may see in the query)
    The field diff - is it varchar2 like '1-2 pm' or what?
    I didnt understand your question. What do you get when you subtract two timestamp datatypes - that should be the datatype - if I have understood your question. Not sure if thats what you asked.
    But IMHO it's impossible to get such a result, of course, if dt_tm in the query is the same as Date in the result!
    The time components in the queries are different. If you see:
    1st Query:...
    where dt_tm between
    to_date(to_char((sysdate-5),'mm/dd/yyyy')||' 13:00','mm/dd/yyyy hh24:mi:ss')and
    to_date(to_char((sysdate-5),'mm/dd/yyyy')||' 14:00','mm/dd/yyyy hh24:mi:ss')
    2nd Query:....
    where dt_tm between
    to_date(to_char((sysdate-5),'mm/dd/yyyy')||' 16:00','mm/dd/yyyy hh24:mi:ss')and
    to_date(to_char((sysdate-5),'mm/dd/yyyy')||' 17:00','mm/dd/yyyy hh24:mi:ss')
    3rd Query:
    where dt_tm between
    to_date(to_char((sysdate-5),'mm/dd/yyyy')||' 19:00','mm/dd/yyyy hh24:mi:ss')and
    to_date(to_char((sysdate-5),'mm/dd/yyyy')||' 20:00','mm/dd/yyyy hh24:mi:ss')
    First should be between 1 and 2 pm for sysdate-5.
    I need starting previous 5 days till sysdate.
    Second is between 4 and 5 pm again for sysdate-5.
    I need starting previous 5 days till sysdate.
    Same with 3rd.
    My final query is something like this:
    select t1.dt_tm, count(t1.id), '1 - 3 am' as period
    from table1 t1, table2 t2
    where t1.id = t2.id
    and dt_tm between
    to_date(to_char((sysdate-5),'mm/dd/yyyy')||' 13:00','mm/dd/yyyy hh24:mi:ss')and
    to_date(to_char((sysdate-5),'mm/dd/yyyy')||' 14:00','mm/dd/yyyy hh24:mi:ss')
    group by t1.dt_tm
    union
    select t1.dt_tm, count(t1.id), '4 - 5 pm' as period
    from table1 t1, table2 t2
    where t1.id = t2.id
    and dt_tm between
    to_date(to_char((sysdate-5),'mm/dd/yyyy')||' 16:00','mm/dd/yyyy hh24:mi:ss')and
    to_date(to_char((sysdate-5),'mm/dd/yyyy')||' 17:00','mm/dd/yyyy hh24:mi:ss')
    group by t1.dt_tm
    union
    select t1.dt_tm, count(t1.id), '7 -8 pm' as period
    from table1 t1, table2 t2
    where t1.id = t2.id
    and dt_tm between
    to_date(to_char((sysdate-5),'mm/dd/yyyy')||' 19:00','mm/dd/yyyy hh24:mi:ss')and
    to_date(to_char((sysdate-5),'mm/dd/yyyy')||' 20:00','mm/dd/yyyy hh24:mi:ss')
    group by t1.dt_tm
    I need for the last 5 days and what i can think of is have 5 different queries for past 5 days and 3 queries per day for the 3 different time periods. This would mean 15 queries. Was wondering if there is a better way to achieve the same?
    Any help appreciated.
    Thx!

  • Time differences between ical and iphone

    When syncing ical to iphone i have a time difference of 9 hours. (dates on the iphone are always 9 hours earlier) No matter on which device the entry was made.
    Time zone is set to Berlin, Germany on my iphone as well as on my G5.
    Same thing is happening when syncing the iphone with my google calendar.
    Any suggestions?

    A restore of my iphone solved my problem.

  • When I try to download my updates it keeps saying cannot connect to iTunes store please help I'm going mad!

    When I try to download my updates it keeps saying cannot connect to iTunes store please help I'm going mad!

    a lot of people have posted about this and i have seen one weird thing fix this. people said they where going into date and time under settings and changing  the date to some time in the future and then going to the itunes store and it would give them an error that there date and time was wrong. then all you need to do is go back and set the date and time right and go back to the itunes store and try again.
    Im not sure why this did the trick but a bunch of people said that this helped them out..... Weird i know
    You might want to see if it fixes your problem.

  • Replacing main HD, how is time machine going to be affected?

    I am going to have to replace my internal main HD (just failed). I was using an external HD for TM. I also made a clone of my failed HD few weeks ago (lucky). Now, once I have my new HD installed and transfer my clone back to the new HD, is time machine going to work from where it left off (before the failure) or am I going to have to reset and start fresh with TM?
    Thanks

    TM should recognize the cloned drive. However, since your clone is a few weeks old I would restore your system from TM. This will give you a more recent version of your computer.
    To do that, make sure TM drive is connected, start from the leopard install DVD and once past the language screen go to the Utilities menu and choose restore from TM.
    Follow the instructions. Your system should be restored to the most recent TM back up and you can keep using TM as normal. I've done this a number of times on two computers and never had a problem. However, I've seen posts here by people who had some trouble with full system restore from TM. Hopefully yours will be ok. If not you always have your old clone.

  • Configuration Fails - Time Difference Between SA and SSO

    I know this is going to be a light-bulb moment for me but I haven't been able to figure it out yet.  I'm configuring SA and at the vCenter SSO credentials page.  I put in the credentials and get the following error:
    Installation aborted - could not authenticate to vCenter Single Sign On due to time difference.  Please synchronize the clocks of Support Assistant Virtual Appliance and vCenter Single Sign-On server and retry the operation.
    I changed the timezone for the SA appliance to match that of our vCenter server and I'm still getting that error.  I noticed that the time is off by 7 hours on the appliance so I tried to trick it by setting the timezone to somewhere in Europe (which then showed the same time as vCenter), but it still failed.  Any assistance would be greatly appreciated.

    Here is what I have found to critical touch point when it comes to time and VAs
    -:  If you have AD.... ensure that the PDC\DC is pointing to a NTP source
    w32tm /config /manualpeerlist:<fqdn or IP ntp server> /reliable:yes /update
    -: ALL your ESXi server MUST have a NTP...make sure its the same at the AD PDC\DC.  The ESXi server may take 10mins to 15mins
    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2012069
    -: Configure NTP on the VA

Maybe you are looking for

  • Creation of replenishment orders in RR monitor

    I am not being able to create a replenishment order on the basis of already created planned receipt by running the service (REPL_FRPROP_SERVICE) interactively. Following are the errors that I have been getting 1.Technical error in Firm Receipts gener

  • How to preserve original size when converting to PDF in Preview.

    I'm using Preview in Snow Leopard. Trying to create multipage PDFs from document scans. I'm finding that when the scanned image (tiff, png, jpg) is converted to PDF in Preview the size reduces. Selecting 'View actual size' shows the image with someti

  • Use of events

    Hi BWers, In what case we use events and how can we create events. -Sekhar

  • Failed To Start A Dedicated Server Process

    Hi Oracle 9.2 Windows Advanced OS 6G Ram We switched our server from Shared Server to Dedicated. All was going well, but suddenly no one could log in. Currently logged in users were okay. Alert Log showed several of the following errors: skgpspawn fa

  • Photoshop latebinding

    Hi I am trying to write a program like Kodak digital album pro which loads an image in photshop, allows it to be editted and then saved as a tiff image. I have managed to run photoshop CS, CS2, CS3 & CS4 versions using latebinding. But for version 7.