Datetime Items - Comparing only the Time portion

Hi. I have two Datetime items on my form and I need to only compare just the time portion (hh:miPM) of each against each other. None of the other date information is important to me in the comparison. Is there a way to compare just the time portion of each in an IF condition similar to what I have below? Any help would be greatly appreciated.
For example:
IF :induction_info.mf_time <> :induction_info.cbms_mf_time THEN
....

You could covert the date-portion to a number like
IF TO_NUMBER(TO_CHAR(:induction_info.mf_time, 'HH24MISS'))!=TO_NUMBER(TO_CHAR(:induction_info.cbms_mf_time, 'HH24MISS')) THEN
..If you just want to check for "unequal", you could even leave the TO_NUMBER-part

Similar Messages

  • Comparing the time portion of datetime items on my form

    Hi. I'm attempting to compare some datetime items on my form. On my form these items are formatted as HH12:MIPM even though they contain a datetime value. I believe my IF statement is failing because the date portion of the datetime values is different.
         if :cc_call_lists.NBT_LOCALDATETIME between :nbt_best_call_tm_start and :NBT_BEST_CALL_TM_END thenIs there a way form me to make this comparison using only the time portion of the datetime value?
    So I need my IF statement to fire even when :cc_call_lists.NBT_LOCALDATETIME is 05/01/2013 02:00PM, and :nbt_best_call_tm_start is 05/15/2013 12:00PM and :NBT_BEST_CALL_TM_END is 05/15/2013 04:00PM.
    Any help would be greatly appreciated. Thanks.

    You have to eleminate the date-part for both items, maybe something like this:
    -- check if first time is smaller second time
    IF (:THEFIRSTDATE-TRUNC(:THEFIRSTDATE)) < (:THESECONDDATE-TRUNC(:THESECONDDATE)) THEN

  • Elements11 QUE: Why does only the audio-portion transfer to timeline when I drag a video file down.

    Elements11 - 1st time user
    When I drag a known good video file from the "My Videos" Folder on my laptops disk down to the "Drag Here" box in my project Timeline, only the audio portion transfers NOT the video.
    I am trying to create an "Instant Movie" after watching a youtube video on the subject.
    The end goal is to combine portions of three video clips into one for my sons school project.
    Any help is greatly appreciated.

    Elements11DRC
    What version of Premiere Elements are you working with and on what computer operating system is it running?
    Can we assume by your selected ID, that the program is Premiere Elements 11?
    Pending further details, I will assume that you are working with Premiere Elements 11 on Windows 7, 8, or 8.1 64 bit.
    Where is this "My Videos" Folder - on a DVD disc being used as a DataDisc for video storage purposes?
    If so, Add Media/DVD Camera or Computer Drive/Video Importer and from there automatically into the project in Project Assets as well as on the Timeline.
    If your "My Videos" Folder is a folder on the computer hard drive, then Add Media/Files and Folders to get the video into Project Assets from where you drag the video to the Timeline.
    Now for the video that you are trying to import...what are its properties
    Video Compression
    Audio Compression
    Frame Size
    Frame Rate
    Interlaced or Progressive
    File Extension
    Pixel Aspect Ratio
    Probably answered the easiest by knowing the brand/model/settings of the camera that recorded the video.
    Prime interest, that video compression. It could be MotionJPEG which can be problematic for Premiere Elements. It could be AVCHD.avi which cannot be imported.
    We can go into greater detail on your project details once we rule in or out any of the factors mentioned above.
    By the way, what is the destination for this project....burn to disc DVD or Blu-ray...export to file saved to the computer hard drive...other?
    More later.
    Thanks.
    ATR

  • I have a 500 gb hard drive partitioned for files and time machine but when i connect it to my mac only the time machine one shows up

    well as the title says i have a 500gb hard drive with 2 partitions one with time machine and one for files it worked perefectly until yesterday only the time machine partition appeared in finder, i checked disk utility and both partitions appeared but the one for files appeared in grey and when i press mount an error comes up.

    The repair shop likely replaced a major circuit board on your MacBook Pro, so Time Machine thinks that you have a "new" computer and it wants to make a new complete backup of your Mac.
    You are going to have to make a decision to either add another new Time Capsule....or USB drive to your existing Time Capsule....and in effect start over with a new backup of your Mac and then move forward again.
    For "most" users, I think this is probably the best plan because you preserve all your old backups in case you need them at some point, and you start over again with a new Time Capsule so you have plenty of room for years of new backups.
    Or, as you have mentioned, you have the option of erasing the Time Capsule drive and starting all over again. The upside is that you start over and have plenty of room for new backups. The downside is that you lose years of backups.
    Another option....trying to manually delete old backups individually....is tricky business....and very time consuming. To get an idea of what is involved here, study this FAQ by Pondini, our resident Time Capsule and Time Machine expert on the Community Support area. In particular, study the pink box.
    http://web.me.com/pondini/Time_Machine/12.html
    Once you look through this, I think you may agree that this type of surgery is not for the faint of heart.  I would suggest that you consider this only if one of the other options just cannot work for you.

  • How do I keep only the cropped portion of a clip and trash the rest?

    Before getting my new Macbook, I was using iMovie3. When I would crop a file, only the highlighted portion was kept and the rest of the clip was sent to the trash. With iMovie HD, it is my understanding when you crop a clip, the information outside the cropped area is stored somewhere - how do I send this unneeded portion of the clip to the trash? I have used up almost all the memory in my new computer and don't know how to free up space without deleting the entire clip.

    Hi m
    You can't: As standard. iMovie is a "*non destructive editor*" - means it stores
    the Capture/Imported material in one place and Your cutting, editing etc. is just
    a text document refering onto how this material is to be viewed.
    Even if You only usesed one frame from an hour long import - all of it will be
    saved for futhure changes. (1 hour = about 13Gb of space)
    You can: Send movie back to Camera and a new miniDV tape. Then start a new
    project from this - and delete Your old project.
    This will free up space - but You lose the ability to adjust the prior editings,
    texts and so on.
    Alt is to save as full quality QT.mov and start a new project from this. Still
    what's done is done - but You jump the Camera step. (I have the feeling of that
    I get a quality loss this way - but several in this forum disagrees)
    Advice:
    1. Try to Capture/Import about what You need and not just dump in several hours of
    material for a few minutes movie.
    2. I use a hugh external FireWire hard disk (Mac OS Extended formatted) to store
    my movie projects and a minimum of 25Gb free space on my internal (start-up) one.
    Yours Bengt W

  • Is there a feature in iCS that shows only the time scheduled/available on my calendar?

    Is there a filter mode that will mask the content of my schedule and show only
    the time scheduled/available?
    <P>
    This feature, which will be called "free/busy" time, will be included in the
    next major release of iPlanet Calendar Server. There will be an Access Control
    List(ACL) that provides Free/Busy access, as opposed to only Read access.

    Apps are on my iPad and worked fine with iOS 6. When iOS7 was loaded, I can no longer sign in to these two apps using my Apple ID. These apps are on my phone and work fine.  This problem is on on my iPad. 

  • How can I recognise the text in only the top portion of a page?

    I am using Acrobat XI Pro and wish to recognise the text in only the top portion of a page.  The document is made of of pages of music and I only want to be able to search the title section of each page.  Recognising the text in the body of the music makes it difficult to search and find each piece.  How can I apply Text Recognition to only the top portion of each page?  And if possible how do I apply this to multiple pages simultaneously?
    The other option I considered was separating each piece into its own file.  However it is convenient for me to have all the pieces in one file if possible.

    Thanks Test Screen Name,
    Yes, "zoning".  I can stop trying now.
    Thank you

  • How can I find out the overall time and not only the time of a single clip?

    I have set up two cameras in one room. Both cameras record the same thing from different perspectives at the same time. I have found an interesting scene for video 1 (recorded by camera 1). Now I would like to find the time at which the interesting scene takes place in video 2.
    However, I have not seen any way to get displayed, at what time the scene starts in relation to the total length of the video (e.g: scene starts after 5 minutes from total 10 minutes).
    The indicated time refers only to a part of the clip and not to the overall project, even if a special clip is not selected. Does anyone know, how I can find out the time?

    Go to Settings>iCloud>Storage & Backup.  It will be shown just below the Back Up Now button at the bottom.

  • Want to change item category at the time of order creation

    Hi Gurus,
    Client require to implement individual PO scenario.
    I was configured the same and working fine.
    I am facing problem at the time of item category determination.
    User using same material and order type and they are not ready to accept to create new order type.
    Now My order type is OR and item category group is NORM and right now system determine item category TAN.
    User not want to change manually at the time of order creation.
    I have specific condition on which i want to apply this logic.
    Now i want to determine TAB item category through some user exits or enhancement.
    Can anyone suggest exact in which user exit or enhancement i have to change.
    Thanks & Regards,
    Chirag

    1. Use TCode 0VVW for creating a Z Item Usage, say, ZPO1
    2. Do an item Cat determination in VOV4, as
    Sales Doc type
    Item Cat Group
    Usage
    Item Category
    OR -
    NORM -
    ZPO1 -
    TAB
    3. Maintain Customer Materials Info Record by using VD51.
    In item screen for Cust-Mat combination maintain Item usage
    Regards
    JP

  • How to record and plot only the zoomed portion of a Graph or Chart?

    I'm using LabVIEW 8.6 and have problem plotting only zoomed part of a graph or chart onto other. Please help.

    Sorry, your VI makes absolutely no sense. First you slowly generate chart data, then you write it to a file, read it back from a file, do some exceedingly elaborate while loop that could be done with almost no code at all, then chart all data at once again. The stop button in the while loop makes no sense, because the while loop executes so fast that it is not possible to actually stop it while it is running, only if the button has already been pressed during the first FOR loop.
    What is the purpose of the two arrays? They don't seem to serve any purpose. Why are you getting the array size with every iteration of the loop? Once, right before the loop should be enough. Index array is resizable, so only one instance is enough. Instead, array to cluster is probably all you need.
    The sequence structure is only needed because you write, and then immediately read from the file. All you probably need is to write to the file and wire the 2D array to the seconds structure. Now we have a data dependency and the sequence structure is no longer needed.
    Can you tell us a little more how you are zooming. Do you want to zoom any of the two graphs and automatically zoom the other accordingly?
    As it currently stands, only the first chart gets data, so zooming the other one seems useless. Once the second chart has data, the VI stops and you can't do much either programmatically. Please explain how you are zooming.
    LabVIEW Champion . Do more with less code and in less time .

  • Alternative item selection at the time of confirmation.

    Hi, please suggest how to maintain alternative items and also how to choose alt items at the time of confirmation of specific material.

    Hi,
    Alternative item has to be maintained in respective BOMs.
    Give the same item no in the BOM for the alternates.
    Double click on one of the alternate item, the header data for the item will appear.
    In the basic data Tab, enter the ALTITEM GRP value it can be any number or character.
    CLick on the arrow button that will appear after entering the alternate item.
    Give the Priority, Strategy & usage probability. BAsed on these values the alternate item is selected during BOM explosion.
    The alternate item group value should be same for both the alternate items.
    For further details refer
    [Alternate Item|http://help.sap.com/saphelp_47x200/helpdata/en/f4/7d2ba044af11d182b40000e829fbfe/frameset.htm]

  • Updating a register and print only the updated portion

    Hi,
    I have a scenario where I need to update a register. The register is a pdf form (Acro Form) and I am updating it via a swing application that I have developed.
    When I first create the register, the user will print it and file it for his records. Subsequently, the user might need to update the register. I fill up more fields programmatically on the pdf and now when he prints it, he will supply the already the existent register sheet that he had printed and filed earlier, to the printer, and only the line that was updated should be printed on the correct slot.
    Is this possible in java? I don't mind replacing the pdf with say an excel sheet or html if that can solve this problem.
    Can anyone provide me with any links that I can read up on for this?
    Thanks
    Sethu

    Hi,
    No I cannot expect the clients to have that sort of a printer, unfortunately. A thought struck me yesterday, I am basically using a pdf that has fillable fields (Acro Forms). This I am programtically filling in JAVA. That is simple enough to do using the itext library.
    Initially, the first time I print that sheet, I am basically printing a table. What if I have 2 sets of this pdf, once that has the table border, header, etc and the other pdf will only have the form textfields. The textfields in the second pdf will be in the same position and have the same dimension as the original. Only that the second pdf will be devoid of all other printable characters like table borders, etc and will only have the text fields. I will now populate only the form fields that pertain to the entries that need to be added, so that only that gets printed out.
    Since its a pdf, the specification says it looks exactly like how its going get printed. So I am guessing, this should work. If I make the textfield dimension a bit bigger, so that even if the printer during feeding doesn't align it perfectly, it wouldn't be too bad. Again, if the user feeds it incorrectly, nothing can be done about it. He will need to issue a fresh print of the sheet.
    Any thoughts on this? Its a bit tedious to do.. but what the hell.. give it a shot?
    Sethu

  • Show All Menu Items - On all the time - PSCS4

    I must be missing something because I'm sure Adobe would make a way to keep this feature on all the time. But I've been through the preferences and can't find it. Maybe someone can help me.
    How can I make Photoshop CS4 Show All Menu Items - All the time?
    It slows me down and frustrates me having to keep clicking on this each time I need the full menu, which is pretty much all the time.

    > Workspaces contain more than just the menus to display. If you just want to control just the menu items, go to Window> Workspace> Keyboard Shortcuts and Menus... Here you can choose 'Photoshop Defaults' from the Set: pull down on the Menus tab.
    > 'Essentials' is used Suite wide and may make more sense in some of the other products. Unfortunately, Ps was burdened with 'Essentials' and 'Basic' (effectively antonyms) in the process.
    Thank you Steve.

  • What does it mean when the screen shows only the time and the play button

    what does it mean when i turn on my i-pod and it has a white screen and all it displays is the time and the play button cant get to the main screen to play music

    Is the hold switch in the on position?  Try resetting the iPod. To do this, press and hold both the Select/Center and menu buttons together long enough for the Apple logo to appear.  The iPod may have simply locked up.
    B-rock

  • Show recently added blog items in a webpart with 1 blog item showing all the time.

    I need to pull 3 blog items from blog site and display it in the another SharePoint 2013 site collection home page so I have added content search webpart and in Select a query i choosed recently changed items(system) and in restrict by app i had choosen
    specify a url and pointed the url to the blog post list which it should pull.
    so now it is pulling all the recently changed list items in the list. which is good. but i want to show up 1 blog item on the webpart which should not change and rest(other 2) of the blog items should change. 
    how can i do this. any ideas please.
    Thanks
    M.M

    So essentially you want a "featured" blog post to always be displayed first, followed by recent blog posts underneath?  
    Yeah you would need to add a new column to your blog, perhaps the easiest way to do this is add the Status column "Add from existing site columns" to your Posts list.  Then you can follow the instructions on this blog post:
    http://yalla.itgroove.net/2013/02/roll-up-sharepoint-2013-tasks-with-content-search-web-part/
    To add the Status field as a crawled property (step 13 from article above).  Then you can sort by Status (I would change the status options to "Featured Post" and "Non-Featured Post") Descending, and then Sort by LastModifiedTime Descending.  That
    will first display all Featured Posts, then display the blog posts by last modified time underneath.  
    Thanks.  
    Nick Hurst

Maybe you are looking for

  • Need help with creation of Payment Cycles

    We need you to determine a way to sum up the Measure "Prod Matl - Std" into Payment Cycles of the 5th, 10th, 15th, 20th, 25th and 30th of each month. Company only pays suppliers on the Payment Cycles indicated above. General Rules:                   

  • Rollover buttons in Forms 9i

    I have read that forms 9i has a built in rollver button capability such as seen in all web menu buttons where there is a series of bitmaps that differ for a mouse rollover, mouseup, mouse down, and hit. Is this true and if so how do I utilize this ca

  • Problem use SQL query in coding report with SBO

    Hi everyone! I have problem in execute query to delete and create a report with SQL 2000 in SAP. Try         oForm.DataSources.DataTables.Item(0).ExecuteQuery("DELETE FROM rptReport") Catch ex As Exception End Try          oForm.DataSources.DataTable

  • HT1911 what if i have forgotten the answers to my security questions?

    I am trying to use my Iphone to buy songs and videos on itunes but without remembering my security questions it wont allow. That is the problem, I can not remember what the answers are to those questions? What do I do?

  • Adding more columns on a stored procedure with return rows

    Not a very easy subject heading to define, but I'll explain more now:      PROCEDURE sp_Load_Quote (p_cursorQuote IN OUT cursorPromo, p_QuoteID IN varchar) IS      thissql varchar(1000);      templateType varchar(50) default '';      templateID numbe