Can't subtract from time,date, can only add

I've been having some trouble with times and dates. I wanted to perform a time correction calculation, that is, to find the difference between two times, then add the difference to a third time as a way of "correcting" it. So, you can add and subtract time-date values in Numbers, and you get the difference in a decimal fraction of days. That is, a day is 1, a half a day is .5, etc. This is the same way Excel does things. So far so good.
The problem is that, for some reason, you can add to data-time values, but not subtract. For example:
2/27/2008 9:30:00 PM + .01 = 2/27/2008 9:44:00 PM
great, no problem, but...
2/27/2008 9:30:00 PM - .01 = 2/27/2008 9:30:00 PM
Huh? Why can't I subtract? What's even stranger is that it works of you do this:
2/27/2008 9:30:00 PM + (-.01) = 2/27/2008 9:15:00 PM
No that's messed up. Subtraction fails but adding a negative number works? This is a crazy bug.

Hello
For the add/substract a constant, my first guess was quite simple.
The parser is defined to accept the operator + not the operator -.
If it finds a +, is parse the parameter which may be positive or negative.
If it finds a -, it treats it as a "not allowed" one.
Alas it's a wrong description.
If I try to add 1.1, it works.
If I try to substract 1.1, the integer part is substracted, not the decimal part.
So, it can't be a feature but a bug.
I'm a bit reluctant to report it because I'm afraid that the result would be : disable the tip fooling the beast with a fake addition.
What's your advice ?

Similar Messages

  • How can I open the 'time date browse button'?

    Hello!
    How can I open the 'time date browse dialog' from the time stamp control in my block diagram? I tryed it with the property node but couldn't find this item to open the 'time/date browse dialog'!
    Thanks in advance for your help

    There is no way to programitically bring up the dialog window for the timestamp control. I recommend building your own dialog window VI that will work by opening when you want the user to set the time and when it closes, it can programatically update the timestamp control. It will not be as pretty but it will be just as functional.

  • If you remove a backup from Time Machine, can you add it later?

    if you remove a backup from Time Machine, can you add it back later? I have two backup sets active, but only one is connecting to a drive at the moment. It seems to be pausing TM for the inactive one, which is as I would expect, except that the menu icon for TM shows an exclamation point (= "waiting to backup"). I'd rather have that error / pause sign show if the ACTIVE connected drive is experiencing issues. It has zero diagnostic function as currently set up.
    The solution would be to remove the backup drive from the TM list and then add it back later. I am just unsure if I can do this (will TM recognize the alternate backup set again if I re-add it?)
    tx

    Yes, you can re-add it.

  • Had to install a new hard drive early 2008 iMac, now can't restore from Time Machine.

    Had to install a new hard drive in a early 2008 iMac, now can't restore from Time Machine. Backups show in Time Machine but  I can't select them.
    Serial Number  QP*****1LW
    <Edited by Host>

    Here are some notes on Time Machine problems.  
    http://pondini.org/TM/  
    Troubleshooting.html
    I have asked the hosts that your serial number be removed.  Best not to publish it,

  • Renamed multiple files iTunes Match. Can I restore from time machine?

    Hi
    Hopefully someone might be able to assist.
    I downloaded a live album from a bands official store on their website.
    After importing into my itunes library, I tried to rename the two discs so that they appeared as one album, (I've done this lots of times before).
    Stupidly, I was rushing before I had to leave the house, was unaware that is actually selected 50 albums and accidently renamed  a large number of files as one album!!!
    It's made slightly more complicate because I have iTunes Match and they were all stored in the cloud.
    Can I restore from time machine and manually update iTunes Match?
    Amy help would be appreciated
    Thanks

    when i say right clicking, i mean in itunes, right clicking the song and going get info and then changing the properties via the info tab.
    yehh i done the grouping tracks together by holding down the command key.
    but because i have some smart playlists with the same songs in, i changed both the genre and grouping not realising, this was ok for one smart playlist but totally messed the other up, especially because in for example "dance classics" smart playlist, there also in a folder on my hdd, . and thats the playlist i messed up., but if i drag the folder back into itunes, there all over the show on itunes and in the other playlist too, hence why it isnt as easy to easilly sort and rectify.
    so what id like to do is just copy the folder again from my time machine backup, replacing the files but im unsure if this would solve it.
    Message was edited by: Ian-K

  • I just installed a new Lynksys router and now can not print from iPad but can from iPhone

    i just install a new Lynksys router now i can't print from iPad but can from iPhone.  with iPad can't find printer.  if i reinstall printer on the router it will print 1-3 times then can't find printer but i can print from iPhone

    What model, version Linksys router? Is the firmware up-to-date?
    What iOS levels are you running on iPad, iPhone?
    What make, model printer are you using? Is the firmware up-to-date?

  • All itunes data gone...can I reload from Time Machine and external HD

    Okay, so maybe I was the stupid one and deleted all of my ITunes library....don't yell, I just wanted to free up some HD space...
    Fortunately I use Time Machine and an external HD to back everything up..can I reload my Itunes library from Time Machine and the external HD..can anyone walk me through the process?

    docutale1 wrote:
    Hi there,
    I've done some searching and i haven't been able to find the answer to this problem. I am wondering if someone can help me with this.
    My HD was faulty so i had it replaced.  my complete 300gb music library was backed up on an external HD. The iTunes program was running on my local HD. So i ran the local iTunes off of my ext. HD.
    Now that i have a new HD and i restored everything from Time Machine,
    Did you restore the entire disk from Time Machine?
    Boot from your System install DVD then Restore from backup and select the Time Machine drive?
    See this -> http://web.me.com/pondini/Time_Machine/14.html

  • Can't restore from Time Machine

    I have an early 2011 17" MBP, the last model made, I think. I use the pegasus 12 TB thunderbolt setup with time machine to backup my files.
    I've had no problems, all is well.
    My computer has been slowing down since I installed Mountain Lion. It has reached the point of absurdity it is so slow now. I decided to do some looking around and figured I would do the following:
    1) get a 6G SSD 480GB and put it in the main hard drive and keep the former hard drive with all its data as a separate external backup.
    2) put in a new install of Mountain Lion. Reinstall all my programs: Aperuture 3, Photoshop CS6, pages, quicken, and so forth.
    Sounds simple enough. Got my SSD drive this morning from OWC. Install was simple, went into internet recovery mode. It all worked great.
    I did not want to just image back from TM all that I had because it was so slow. Seeing as I'm going to also put a second HD where the optical drive currently is, I wanted to install carefully on the SSD to maximize speed and space.
    The reinstall of 10.8.x went well. Talk about zippy, wow. Got linked back up to iCloud, all the usual email, contacts, etc synced with the computer flawlessly.
    So far, all is going well except for one minor deal. Major deal.
    Time machine is recognized fine by the fresh install. I can open TM and see the Pegasus with all it's information. However, I cannot find but the image for "now." I cannot go back any further for some reason. I did change the name of my new hard drive, could that be an issue?
    I cannot find my disk of Aperture 3. I had purchased Ap2 and kept upgrading with CD's through AP3. The AP3 I have is an upgrade disk and for whatever reason, I cannot seem to find any of my former Aperture disks. Simple enough, I thought, I'll just restore AP3 from Time Machine.
    Same problem is happening: I can see Aperture 3 in TM. I highlight the app. The "restore" button is greyed out and I can only access the "now" image and cannot go further back on images/time.
    Any idea why Time Machine is not working with restore? Why I cannot take all the last year of faithfully saving daily backups to time machine and see them?
    I can't see them, restore them. Only the "now" image is visible and it will not let me restore anything. Anything. I tried various files, a single picture, and nothing is working. I am getting frustrated thinking that maybe this whole time machine as a backup is a joke.
    Help?
    Thanks.

    DocDoc, that worked. I read that page and it meantioned how to exactly click what. I'm not sure why TM is so particular, but nevertheless, I was able to open a finder window pre-TM, click on my new hard drive. Then I opened TM and again, clicked on my hard drive in that finder window. Then navigated to the folder I wanted, which was the applications folder.
    The "now" image wouldn't do anything when right clicked (on aperture.app) except offer to get info or to delete all backups of aperture. I almost gave up, figuring the purpled out timeline (as previous) on TM was bunk. I couldn't go backwards to a previous image before.
    But having navigated that exact way somehow made TM happy. A previous image about 1 month ago was able to be saved to my application folder. 986megs or something like that in a few seconds. When TB works, it zips right along.
    I don't care for how persnickety TM is, but am glad it worked nevertheless. Thanks for your help.

  • I have reinstalled snow leopard 10.6.8 and want to restore my i photos from time machine. can not find iphoto libary in time machine, can"t not find home-pict. iphoto lib.  in time machine

    i have reinstalled snow leopard 10.6.8,  and want to restore my i photos from time machine. Can not find i-photo libary in time machine, can't not find > home-pict. iphoto lib.  in time machine. Please help.

    On my HD it does not say ,restore, in yourname -pict. Iphoto lib.,
    On the time machine, it , yourname etc, oes not show up at all.
    Only right side of TM, your name etc. does not show.

  • Lost mail rules when upgrading to ML, can't restore from time machine

    Hi,
    I've installed mountain lion and restored from time machine and mail rules were not there. There's only news from apple.
    I tried to restore the rules myself (MessageRules.plist and MessageRules.plist.backup) but when opening mail rules were not there yet. Nevertheless, i can add rules manually, so if there was a way of looking at the past rules I could just copy them (though it's not the best way).

    My rules are still there, so perhaps Apple support speak with resource forked tongue.
    Comparing an old (pre ML) rules file from 20th June with the ML one, the differences are:
    The file name was: MessageRules.plist, the ML one is SynchedRules.plist. Both are in my V2 folder, but the old Rules have been copied (by Mail, not me) into the new SynchedRules file.
    In the old file, for each item (Rule) the first line was Active (Key) String (Type) 1 (Value). In the ML file, this line is no longer there, so the first line is AllCriteriaMustBeSatisfied.
    You can see these differnces in the "preview" part of Finder Show Info, if you have the two files to compare.
    Thus, just copying and renaming the old Rules file probably won't work, because of this difference. Mail probably just makes a new file because the copied file isn't as expected. It should be possible to edit the old plist file to remove the "Active" line, and rename it to SynchedRules.plist (but see below). The top is slightly different, just below <dict>, as this relates to the Active line. There are a  couple of lines at the bottom that aren't in the new file.
    The "Active" line that has gone is now in a file called RulesActiveState.plist. This file is just a list of RuleIds from the SynchedRules.plist (like this:
    AC6F6611-FF61-4AA6-9682-BA100EFAC233)
    Doing this does sound rather tedious, but might be quicker than manually re-entering blocked email addresses etc. to replicate old rules. As plist files are in xml format, it should be possible to use a text editor to delete the unwanted "Active" line from the message rules list by Find & Replace All (with nothing). All this could then be copied to the "SynchedRules.plist. You would need to copy the RuleIds into the RulesActiveState.plist as well.
    Make a copy of the files first just in case...

  • Can't restore from Time Machine backup error message

    My hard drive on my Macbook failed a few days ago. Just makes a clanking noise and won't boot up etc... I installed a new drive, formatted it, and selected restore from Time Machine backup from the installer screen. It started restoring from my backup I had on an external drive and everything was fine untill it got about 6% done then get a message that says "An error occured when restoring from the backup" It is pretty non descriptive. It also says please restart your system and try again or something to that effect. I tried again, same problem.  When I try to copy files over manually I eventually gets some error that says there is a problem with a file and it will quit. Any ideas on how to get my data? I can see all my files on there, but can't get them. My backup disc is just used for backup on this one machine nothing else, so it shouldn't have a problem. Help!

    Good to hear MA is doing something!
    >I have never had much luck with Time Machine...
    Same here, not one good backup or restore, can't tell which.
    You can set any of these to Clone/Update as often as you wish...
    Carbon copy cloner...
    http://www.bombich.com/software/ccc.html
    Or SuperDuper...
    http://www.shirt-pocket.com/SuperDuper/
    Or the most expensive one & my favorite, Tri-Backup...
    http://www.tri-edre.com/english/products/tribackup.html

  • Can I change Capture time/date globally

    I have shots from a trip done with two different cameras, however the time stamps are different by one day and one hour.  I would like to globally change the creation date and time on one of the cameras in the Metadata, or perhaps change one and sync with the others.  I don't see how this is possible, but maybe there is another program that can do this.
    thanks,  kb

    The Metadata > Edit Capture Time command can adjust a set of photos by the same amount of time:
    1. Use the Library Filter bar to search for all the photos taken with just one of the cameras, by filtering in the Metadata browser for Camera or Camera Serial Number.
    2. Make sure you're sorting photos by Capture Time (down in the tool bar, View > Tool Bar).  Select all the photos from the trip.
    3. Do MetaData > Edit Capture Time.
    4. Select Adjust To A Specified Date And Time.
    5. The Original Time field will show the capture time of the most-selected photo.  Change the Corrected Time by one day and one hour.
    6. Click Change All -- this will change all of the selected photos by one day and one hour.

  • How can we upload the Time data into SAP system

    Dear all,
    ingeneral which method we can use to read the Time data and how can we upload that data into SAP system. Please any one can answer this asap.

    In the recent project that I have done.. the time data is uploaded from the external time recording machine.. in the form a file...
    The other way is through CATS... which in turn will populate the time entries as per hte work schedules... and will explicitly have to populate the deviations to the work scheudle by going through transactions..
    Please reward the points if it is helpful...
    Regards,
    Suvan,
    Yash Technologies Pvt Ltd, Hyderabad.
    Message was edited by:
            Suvan

  • Going back to leopard from snow leopard Can I restore from Time machine

    My Imac continues to lock up about three times a day since I went to Snow Leopard.
    I want to go back to Leopard where I did not have these problems.
    Can I reformat and do a clean install and then restore everything from time machine even though the back up is from Snow Leopard?

    You can restore the system to any previous dated state shown in your Time Machine backups. However, this will not preserve anything you created after that date. You can also restore individual files & folders from later backups but you may or may not be able to use files you created using Snow Leopard while running Leopard, depending on the parent application & if it was updated to use a new file format with Snow Leopard.
    It is generally much better to resolve the issues you have with Snow Leopard & continue using it than to try to do this. Most issues are fairly easy to resolve. If you want help with that, let us know.

  • Ical how can i restore from time machine

    I have tried to no avail, even been to Genius bar today, they did not know how to do it in Lion. Lost all my calendars and events, please help if you can.  Only thing available under retore is the app, which is not what is required it is the data.  No one seems to know how to do it, is there a point to Time Machine, can restore files/docs etc why not data.  Same problem with Address book!

    The data is in ~/Library/Calendars 
    The folders have gibberish names; you can't tell which folder is which calendar, so you probably need to restore the entire folder.
    But if you have your Calendars synched via iCloud, there may not be anything there, since iCloud is where the "real" data resides.

Maybe you are looking for

  • What is the best practise to provide a text file for a Java class in a OSGi bundle in CQ?

    This is probably a very basic question so please bear with me. What is the best way to provide a .txt file to be read by a Java class in a OSGi bundle in CQ 5.5? I have been able to read a file called "test.txt" that I put in a structure like this /s

  • Rented videos not loading?

    So I rented the 'movie of the week' and it downloaded. I pressed play & started to watch. Though approx 15mins into the film the movie just stops and a msg pops up saying "could not load movie" ... This happens at the exact same point every time! My

  • QuickVPN won't save connection info

    I'm using QuickVPN 1.0.0.40 and it's connecting fine to my WRV54G router but it won't save the connection info.  If I enter the connection info and click Save, it says it did it, but if I exit and restart QuickVPN, the fields all come up blank. On a

  • ONE Core Live processing

    I am using my rig mainly for live performance. I am quite aware of the single core usage in record/input enabled tracks, I am to understand for latency reasons? My question, is that if I purchase a quad core laptop, doesn't that mean I will theortica

  • Problem-Stuck in the Classic Environment

    Have a Power PC, G4 Mac running OSX 10.5.8. 10.5.8 has been properly updated thru Software Update. Things worked fine for a long time. Just tried using the OS 9.2.2 Classic Environment again. It used to work before. Now there's a problem. The Startup