Datediff formula not displaying negative times

I have a DATEDIFF formula between two times that is not displaying a negative time when for example:
DateDiff ("n",next({caseintraop.orsetup_start_datetime}), {caseintraop.pat_or_out_datetime},
so if the time it pulls is 930am-1000am, it gives us 30 not -30 min.
When the field is formated to show negatives it does the oppostie and shows the postive times as negatives and vice versa.
Is there a way to format the formula to show the correct resulted time diffence?

You wrote
DateDiff ("n",next({caseintraop.orsetup_start_datetime}), {caseintraop.pat_or_out_datetime},
so if the time it pulls is 930am-1000am, it gives us 30 not -30 min.
This will never be negative because start time 9:30 am is before end time 10:00 am
DateDiff does not subtract end time from start time, if you want it to be negative just reverse the order.
Ian

Similar Messages

  • How do I connect to Time Capsule from a Windows 8.1 machine which is on a Windows domain. I have been able to connect from a Windows 7 machine on a Windows domain to a Time Capsule. Airport utility is not displaying the Time Capsule Win8.1 machine

    How do I connect to Time Capsule from a Windows 8.1 machine which is on a Windows domain. I have been able to connect from a Windows 7 machine on a Windows domain to a Time Capsule. Airport utility is not displaying the Time Capsule Win8.1 machine.
    I have checked that the firmware has been updated to 7.6.4 . Similalrly the Win8.1 machine has been loaded with the update specified in another discussion.

    Firstly how are you connecting to the TC.. wireless or ethernet?
    Please open a command window and ping it.. ping by name and by IP address.
    If ping succeeds at least by IP it should work.
    In windows explorer type
    \\10.0.1.1 (or whatever the TC ip is.. that is the default).
    Having the airport utility for windows loaded can help the process. As it loads bonjour for windows.
    7.6.4 firmware on the TC is useless. It works better on 7.6.1
    If the ping does not succeed by either name or IP address yet you have internet through the TC, then your network is setup wrongly. You are have firewalls blocking local IP. Take down all the firewalls.

  • Powerbook pismo with OS 10.4.9 not display battery time

    I was very curious why my newly upgraded powerbook pismo (400 MHz, 1 MB, 55 GB drive, firewire, etc) would no longer display "time remaining" when on battery or external voltage.
    I was getting very close to ordering another battery (6600 mAH) for $150 but decided to do some research first. Lo & behold on the archives there were 30 entries about the same problem on OS 10.4. So in a nutshell, a powerbook pismo with OS 10.4 will not display battery time remaining no matter how many brand new batteries you mail order.
    I'll learn how to use system profiler more often (remaining capacity mAh/amperage = time remaining).

    There's nothing at all wrong with preferring APpleWorks and wanting to continue using it. It's a bit unfashionable these days, but there are many people who have discovered how powerful, flexible and easy it is to use and continue to use it despite the development of alternatives!
    Of course, it does have the drawback of not being intel native, so performance on intel-based Macs will be relatively poor in comparison to iWork, but if that doesn't cause you any problems in use, then it's purely a matter of what you want to use not what anyone else thinks is appropriate!
    That said, what exactly is the problem? Can you scroll by clicking the scroll arrows and dragging the scroll bar, but not by using the mouse wheel?

  • Digital Clock Time is not display present time

    Dear all i have one doubt, i want to confirm please chek my clock time is not display properly what is the problem with this coding
    http://www.newtonclients.com/clock/TEST2.html
    Please help

    Dear all i have one doubt, i want to confirm please chek my clock time is not display properly what is the problem with this coding
    http://www.newtonclients.com/clock/TEST2.html
    Please help

  • Formula not displaying in report

    Hi ,
    I have used the NODIM data function in my formula and now the report is not displaying the formula column in report in first screen. I have to select the filter value from structure.
    I have already made the formula as Always show , still its not displaying.
    I have tried creating the  CKF and that too is not displaying in report in first screen. I always have to select it from filter.
    What could be the reason..? Are there any query setting I am missing..?
    When I use the KF , it is displaying properly.
    Please help.

    HI,
                  AS YOU SAID U R CREATING FORMULA USING NODIM FUNCTION  IF U R CREATING AT INFOPROVIDER LEVEL THAT IS CALULATED KEY FIGURE , AFTER CREATING CKF U  JUST DRAG CREATED CKF TO COLUMNS AREA AND SAVE AND EXECUTE, ITS DISPLAYS THE KEYFIGURES. U ARE JUST CREATING FORMULA FOR KEYFIGURE NOT  CHARACTERISTIC SO NOT THOUGHT OF FILTERS.
    HOPE THIS HELPS .
    Regards,
    supriya.

  • Portlets not displayed first time until refresh

    Hi,
    I have a strange bug when using WLP 8.1 sp5.
    When I go on a page for the first time, my page (Portal Page) is bad displayed : its title is diplayed but the inner portlet is not displayed.
    When I look at the source, I can see that the Portal rendering stopped at the page level (no HTML for the skeleton of portlets).
    If I refresh the page (just F5 or refresh button), the portlet "magically" appears.
    Do you have any idea ?

    For the both .portal and desktop
    It happens after login.
    I use a backing file with handlePostBackData method to check the login action.
    If everything is ok, I redirect the user to the private space.
    On this space, another backing file check that the user is authorized to access to the private space (so it checks for destroyed sessions, url hacks, ...).
    I can put the code of the backing files if you need it.
    After some tests, it seems to be a problem in relation with the page label. If the page label is a book , the portlet don't dipslay, but if the label is the full way to the page, it appears immediately.

  • OTL Custom Formula not visible in Time Entry Rule window

    Hi Friends,
    I have created a custom Fast Formula of type 'OTL Time Entry Rules'. Created a context with segments for the OTL Formulas Flex Field with formula name same as of the context. But the formula is not visible in the in the time entry rule window.
    Can any one please suggest what is the reason for this?
    Many many thanks in advance.

    Hi,
    Check whether you have given the description for your custom Fast formula while defining the FF in the Write Formula screen.
    Coz, In the Time Entry rules window you will see the description of the fast formula .
    Though the description iss not a mandatory field while defining the FF in the Write Formula screen the time entry rule will take only the description of the FF instead of the FF Name.
    Get beack to me if you need further info.
    Thanks,
    Anuradha

  • Layout formula not displayed in web

    Hello all,
    I have a layout for forecasting so depending on the version the planner chooses i will have either 39 or 66 or 9+3. since i am dynamically populating my layouts i am not able to assign Q1,Q2,Q3,Q4 totals so in the 3rd layout screen I am writing excel formula to acheive this. This looks fine in Planning folder, But the same is not acheived in Web, Is there any attribute which needs to be changed in web interface builder to achieve this or this is not possible in web. Any answer is appreciated.
    Thanks for your time and help
    sathya

    Hi Marc,
    I need more clarity on this becz i am also having the same problem.
    I didn't understand your solution clearly. In my case I am not using any exit function to populate variables but I am using the two different variables , one for actual period and other for plan period. We are doing 12 months rolling forecast and we want to get quarterly totals for each quarter. Actual and plan data is differentiated by value type.
    In your solution, if I have quarter which will have both actual and plan data, how should I get the total for that quarter?
    What is best solution for getting the quarterly totals in my case.
    Thanks,
    Raj.

  • Ical events not displaying correct time zone

    Hi All,
    I have a weird issue and I'm not sure if it's an iCal or an entourage problem. When one of our Entourage2008 (exchange) users sends a meeting invite to a user in a different time zone using ical, the meeting shows in ical as the time the entourage user who created it, aka not adjusting for the time zone. Entourage to outlook calendar or another entourage calendar works fine, and iCal to iCal works fine; just not Entourage to iCal. Also, a calendar event from the iCal user to the Entourage user does adjust correctly for the time zone difference, which is why i'm exactly sure where the problem lies. I did post in the mactopia forums too so please don't yell at me for posting an 'entourage' problem in a mac forum. any help anyone could provide would be appreciated.
    Thank you.
    i'm on 10.5.7 with the latest updates for mac os x and the latest office for mac updates, and we are running off a hosted exchange server. we've experienced the same issue whether we have iCalis ("turn on time support") option enabled in iCal or not enabled.

    It's annoying as it should not be this complicated. I've implemented a work around, but it's not ideal. I have entourage running but not open, and have sync services set to sync with ical. A new invite comes into mac mail, the user clicks on the ics file (which opens entourage calendar), accepts the meeting, and closes the entourage window. The correct time is in entourage calendar, and then syncs with ical and the meeting has the correct time for that time zone.
    If anyone has found a real fix for this problem, please let me know.
    Thanks for letting me know I'm not the only one Jim.
    Slater

  • MyBook live duo not displaying in Time Machine

    i want to back up my MacBook using time machine and a MyBook live duo. OS is up to date, as is firmware. The MyBook shows in Finder and I can copy individual files to and from it no problem. The MyBook is configured to allow TM backups. However, when I enter TM, the LiveBook doesn't appear in the drop down menu as a drive I can back up to (even though it still appears in Finder with no issues). Really grateful for any suggestions.

    Hi Charlie_Potatoes,
    Thanks for using Apple Support Communities. Based on what you stated, it sounds like TimeMachine is not recognizine an external HD. I would recommend that you read this article, it may be able to help the issue.
    AirPort base stations: Time Machine hard drive compatibility - Apple Support
    an external drive that is formatted as Mac OS Extended.
    Cheers,
    Mario

  • Urgent , not display the time using Timestamp

    Hello I need to know if the configuration of sunone 7 I can prevent that it sees the hours in a consultation Oracle.
    I am making a Select on a field type DATES, that you have date and hour.
    Use the TimesTamp class from java. It is not the Oracle nor the version of JDK.
    It is urgent!

    That is odd and I could only guess at the cause.
    If the file came from a digital camera the "code" for the timeline may be corrupt. This could happen if the capture was started and then stopped then resumed.
    I would also expect playback of the file to stop when QT Player reaches what "it thinks" is the end of the file. Hitting the play button may continue playback or it could return to the "beginning" of the file.
    You may be able to see the timeline by opening the "Movie Info" window. Leave it open as you play the file. Does the time appear in the Movie Info window?

  • Accordion problem: child not display first time added

    I have an mx Accordion that I extend to add some simple functionality (e.g., replace a child content at certain index). I tested it in a clean window and everything seemed to work fine, until I use it in my "real" app.
    The problem is when I add a child content to it, the child never bothers to show up until after I click on another header and then go back to click on the header of the child that was just added. I try to call "invalidateParentSizeAndDisplayList();invalidateDisplayList(); invalidateSize();" in the child content's addhandler, and on the Accordion's "childAdd" handler, without luck.
    Anyone has encountered this before? This is probably not the best place to ask for troubleshooting tips but this is really driving me crazy. Any lead is really appreciated!

    ok. i figured it out. setting the "creationPolicy" of the navigatorContent to "all" solves the issue!

  • Time Machine does not display older backups.

    Running 10.6.4 with Time Machine saving to a Time Capsule, for the past year.
    Opening Time Machine displays the bars for older backups but does not display dates/times against them and I cannot move backwards or forward to select an option to restore. However, it does mount the Time Machine backup disk image on the desktop and I can browse this and restore a file using Finder. So, I know that I have my years-worth of backups on the Time Capsule, but how can I get Time Machine to display them -- I'm guessing it needs a re-instal of Time Machine?
    cheers
    Birdflier

    Hi Pondini,
    I got it fixed today, thank you everyone for your help. The thing that ended up fixing it was deleting the hidden files ".com.apple.timemachine.supported" and ".002332b4a7fc" on the root directory of the time machine disk. Now my months worth of backups are viewable again!
    I didn't find this on your website (maybe I didn't look hard enough). If it's not there, perhaps it would be a good thing to add to your site? Hopefully it will save a few people some frustration! Thanks for making the site - it looks like a great resource.
    --Hayden

  • Creative Zen 8GB not keeping accurate time on cl

    Hello, I am wondering if anyone else is experiencing problems with thier Creative Zen's (mine is an 8GB) not keeping accurate time on the digital clock on the player? My firmware is .2.0 by the way. I have a fully charged battery and noticed yesterday that the time on my clock was way off and needed to be set once more. So I set it correctly yesterday, now 24 hours later, the time is again way off...it thinks it's :6 pm even though it's 0:20 pm as I post this message.
    I have noticed this several times previously and have adjusted the clock accordingly each time...this is not just a random incident.
    I have used the player for several hours today but the battery still has lots of charge left and the unit functions correctly minus this time issue.
    Any feedback or help would be appreciated.
    Thanks,
    Drew

    I too hope that if others are having this problem that they would add their comments to this thread. I know this is a rather small issue, but it is annoying none the less. I mean otherwise my player is rock solid. Yes I could turn off the display of the clock and not rely on it at all (now I don't because it's always wrong) but that means I am settling for a product that does not work as advertised with ALL it's features working correctly. I am being kind of picky but I just want the product to function correctly... I don't think that's being too out of the ordinary with my expectations.
    Anyhow, to make a long story short, I have been issued an RMA number and plan on sending the player off to Creative here in Canada.
    I promised to post a follow-up with a copy of what Creative has sent me for correspondence in case others are interested. Oh and just to be complete, here are my answers to the suggested self-troubleshooting methods in the following email - yes I am running the latest firmware release and I am a clock setting professional now because I have done it so many times.
    I have also searched this forum for other users who may be having this issue and I did not find too many (I found this interesting). So that is why I created this thread. I am starting to notice, at least at this time, a few others who are having similar experiences as I-yup I agree I am not the first to have problems with my MP3 player nor the last. Just was curious to see if this was a common problem or if I was the lucky one of the bunch or one that people just didn't bother to report...
    Regardless everyone's feedback is appreciated and respected.
    Anyhow here is their email:
    Dear Drew,
    Thank you for your contacting us at Creative Technical Support; we
    appreciate the opportunity to assist you.
    I understand that you are having some issues with your Zen player. The
    device does not display the time correctly causing you to reset the time
    frequently. I'm sorry for the inconvenience caused; allow me to offer
    some possible solutions to this issue.
    Prior to sending us an email, I believe you would have gone through some
    basic troubleshooting steps for your player. If not, please refer to the
    Knowledge Base article below:
    How to Use and Troubleshoot Your Zen Player
    http://us.creative.com/support/kb/ar...p?l=2&sid=4763
    To begin, I would suggest you refer to the following Knowledge Base
    article regarding setting the Time and Date on your Zen Player,
    specifically the first part that deals with Zen players in general.
    Changing Date, Time, Clock and Alarm On A ZEN Player
    http://us.creative.com/support/kb/ar...p?l=2&sid=5638
    Subsequently, you might wish to update your player's firmware to the
    latest version. You may use the Recovery Tool to do so. Please follow
    the link below:
    http://www.creative.com/products/mp3...me.asp?region=
    However, if the time on the player still does not display correctly, you
    may need to schedule for a repair or replacement. Please note that your
    product will be tested upon receipt and if no malfunction is found in
    the product, it will be returned to you.
    Please follow this link to have an RMA issued for your product:
    http://us.creative.com/onlinerma
    All applicable fees will be assessed at the time that your RMA is
    processed in an effort to expedite the repair or replacement of your
    product.
    Thank you once again for contacting us. I hope the above articles are
    able to address your concerns. In the mean time, perhaps you might be
    interested in the Creative Aurvana In-Ear Earphones for your Zen player.
    These earphones have been designed to block out 90% of ambient sound,
    thus providing more precise audio reproduction. It would be a great
    complement for your player. For more information about this product, do
    have a look at our website
    http://us.creative.com/products/prod...&WT.mc_id=3862
    If you still require assistance, please reply to this email with any
    previous correspondence to ensure the quickest and most accurate
    service.
    Best Regards,

  • Not printing negative sign on left side

    hi all,
    i am trying to display negative sign to left side but it is displaying in smartforms
    i edit  w_test-t1(c) like this .. w_test-t1(>)
    but it is not displaying negative sign to left side.

    Hi,
    Actually &fld(<)& should work if you want leading sign to be on the left, if you are not getting the desired results, may b we have to put it manually by concatenating.
    Regards,
    Narendra.

Maybe you are looking for