Combining Date and Time

Hi All,
I need to show some duration , my fields are Duration in days and Duration in time e.g. 2 days 12 hrs.
My requirement is that I need to show both the things in one fileds as 2.5 days. Where can I do it cube level or my report level and how??
Thanks
NooN

You can do this a cube level.
Create a new key figure say ZDAYS choose amount and its unit as Days (I think you can hard code this as you need only in days else use 0UNIT as unit and populate corresponding unit in transformation).
In the transformation write a routine to do look up to your other two key figures which are in days and hrs and based on that populate your new key figure ZDAYS.
Hope this helps.

Similar Messages

  • Combining Date and Time into 1 Field

    Post Author: Marc Vaccarino
    CA Forum: Formula
    Hi,
    I'm trying to write a formula to combine 2 fields (date and time) into one. I would like it to look like this.
    2/12/2007 + 12:00pm = 2/12/2007 12:00pm
    Thanks,

    Post Author: Marc Vaccarino
    CA Forum: Formula
    Thanks that worked but my problem is currently the date field I'm using has a date and time (12/12/2007 12:00am) and the time field has it as well  (12/12/2007 1:45am).  I've been going into crystal and clicked on format field and just showing the date and in the time field, just showing time. Then I would extract the report to excel then run another formula to get it to work. I'm looking to automate it a little. Any ideas??

  • Combine date and time fields to create datetime field

    I have a column that is Data type: Time and one that is Data type: Date.  I want to end up with one column that is Date type: Date/Time.  Seems like it should be easy.
    Thanks in advance for your help.

    You can combine the two columns using the Query Editor. Let's assume you have two columns loaded into the Query Editor. The first column has the time column, and the second one has the date, you can follow these steps to combine the two:
    Select the two columns.
    Go to "Transform" tab, and click the "Merge Columns" (See screenshot below).
    In the "Merge Columns" dialog select "Space" in the first dropdown menu, and type the new column name in the second control.
    Click "OK".
    Now you will see a new column in the Query Editor instead of the previous two columns.
    Right click the column header and select Change Type --> Date/Time.
    The new column will be converted into a Date/Time column.
    Merge Columns Dialog:

  • How do I change the "Set Date and Time Automatically" server

    Is there a way to change System Preferences/Date & Time/Date & Time/Set date and time automatically from "Apple Americas/U.S. (time.apple.com)" to another time server instead?

    sig wrote:
    The menu has a drop down. But if you know the address of another time server I would think you can type it in.
    Yeah, that's not really a menu, but a "combo box", which is a combination of an edit field and pop-up menu. So you can choose from existing items or just type in whatever time server you want.
    charlie

  • Date and time missing from menubar

    The date, time, battery, wifi, and spotlight icons have all disappeared from my menubar. I went into my preferences and found that the "show date and time in menu bar" was unchecked so I tried to check it, but it would automatically uncheck itself instantly. I tried rebooting but that didn't change anything

    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Preferences/com.apple.systemuiserver.plist
    Right-click or control-click the highlighted line and select
    Services ▹ Show Info in Finder
    from the contextual menu.* An Info dialog should open.
    Does the dialog show "You can read and write" in the Sharing & Permissions section?
    In the General section, is the box labeled Locked checked?
    What is the Modified date?
    If you don't have read and write access to the item, change the settings as directed here. Note, however, that if one file has wrong access settings, most likely others do as well.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. Open a TextEdit window and paste into it (command-V). Select the line you just pasted and continue as above.

  • HT5252 I tried to change my metadata date and got this   Aperture was not able to adjust the date and time of the original file "01769_p_h13ajyrm4bm0944.jpg" because it is locked or you do not have permission to modify it.

    I tried to change the metadata date.  It changed the date on my photo, but when I checked the box that said "also change my original file", it gave me this error message.
    Unable to change original file.  Aperture was not able to adjust the date and time of the original file “01769_p_h13ajyrm4bm0944.jpg” because it is locked or you do not have permission to modify it.
    Wassup?

    What is your Aperture version? The older versions of Aperture 3 had a problem to apply Metadata changes to the original file.
    If you are using the current version Aperture 3.4.5, try to repair the permissions on your Aperture library, if you have not already done so:
    Launch Aperture with the key combination ⌥⌘ held down and select "Repair Permissions" from the First Aid PAnel, that will appear.
    If that does not help, post back with more information on your original files - are the referenced or managed? Where is your Aperture library located? Since when do you have this problem? And what did you do directly before noticed the problem for the first time?
    Regards
    Léonie

  • How can i have the date and time show up on my canon vixia hf m50

    Cannot get the date and time to show up onscreen in ANY videos on my new vixia HF M50. Can somebody help me on this?

    Hello Jerrysulew, 
    You can show the date and time using the Captions option.  The process is described below.
    Add a new level of enjoyment to your scenes by decorating them. You can add animated graphics, stamps and even your own freehand drawings. The supplied stylus pen will be especially useful for decorating scenes.
    You can decorate scenes as they are being recorded.
    IMPORTANT
    The screens and settings that appear may differ depending on the model you are using.
    NOTE
    You can open the decoration screen when the LCD panel is stowed with the LCD screen facing away from the camcorder. In such case, make sure [Autostart Decoration] is set to [On].
    Decorating Scenes while Recording
    1. Touch [ 
    2. Touch [Decoration].
    3. The decoration mode screen appears.
    On the decoration screen, there is a canvas where you can draw freely, and a toolbar with tools lined up for creating your drawings.
    Select the tool you want to use from the toolbar, and make drawings on the canvas.
    Icon
    Tool name
    Function
    Pens and Stamps
    Select the type of pen or stamp and its color. You can also save a canvas or load a previously saved canvas.
    Animated Stamps
    Select animated stamps to add to your decoration.
    Captions
    Add the date, date and time, story title* or story theme* as a caption that will be included in the recording.
    Image Mix**
    Choose one of 27 different frames to add onto the canvas. Image mix can be used in combination with the pens, stamps and animated stamps.
    Freeze screen**
    In recording mode: pause the live video. Touch [ 
     again to restore the live video. You can add decorations to and record the frozen image.
    In playback mode: pause the playback. Touch [ 
     ] to resume playing back the scene.
    Minimize toolbar
    Minimize the toolbar to the top of the screen to view almost all of the canvas. Touch [ 
     ] to restore the toolbar.
    * Not available in 
     mode.
    **Not available in 
     mode and for MP4 movies.
    4. Use a tool from the toolbar as explained in the following procedures.
    5. PressYou can add decorations even while recording a scene.
    6. Touch [ 
     ] to exit the decoration screen.
    NOTE
    For AVCHD movies, decorations will appear in the thumbnails of scenes in the [ AVCHD Movies] index screen and gallery. For MP4 movies, decorations will not appear in thumbnails.
    To use [Pens and Stamps]
    1. Touch [ 
    The [Pens and Stamps] screen will appear.
    2. Select the desired pen or stamp from [Tools].
    Select Colors.
    Touch [ 
    Select white or black from [Colors].
    Alternatively, you can touch [ 
     ] and select a color from the displayed colors.
    3. Draw freely on the canvas.
    Touch [ 
     ] > [Clear] > [Yes] to clear the canvas and start again.
    NOTE
    The canvas with decorations can be deleted, saved, and loaded.
    You can save the decorated canvas right after a decorating action.
    If the memory that contains the canvas is initialized, the canvas will be deleted.
    To use [Animated Stamps]
    1. Touch [ 
    2. Touch one of the control buttons.
    3. Touch anywhere on the canvas to place the selected animated stamp. You can also drag some animated stamps to a different location.
    NOTE
    When the [Animated Stamps] tool is used, the date/time will not be displayed or recorded.
    To use [Captions]
    1. Touch [ 
    2. Touch [Date] or [Time].
    When recording a scene using Story Creator, you can also select [Title]
    (the story&&&&&&&&&s title) or [Story Scene] (the story scene category).
    3. Select the desired text settings and touch [ 
    Touch [ 
     ] (white text on dark background), [ 
     ] (white text) or [ 
     ] (black text).
    Touch the caption and drag it to the desired location.
    To use image mix
    1. Touch [ 
     ] to open the [Select Image] screen.
    2. Touch [ON].
    3. Touch [+] or [-] to select a different image mix frame.
    You can touch one of the memory icons at the bottom of the screen to read image mix frames saved on a different memory (When recording on or playing back scenes from a memory card).
    Touch [ 
     ] to mix the selected frame with the live video.
    NOTE
    When [Rec Media for Movies] is set to [ 
     ] (the built-in memory), you will not be able to select image mix frames saved on a memory card (For camcorders that have internal memory only).
    For AVCHD movies, image mix cannot be selected during playback or while converting a scene to standard definition (For camcorders that have internal memory only). Select the image mix during playback pause or before starting the conversion.
    To use freeze screen
    1. Touch [ 
    The control button will change to [ 
     ] and the picture will be frozen.
    Decorate the screen using the other tools in the palette.
    2. Press the
    The decorations created will be recorded with recording scenes that are on pause.
    Press the
    Touch [ 
     ]. The screen will return to normal.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Can I print the date and time using aperture 4

    Work inspectors require that I provide pictures with date and time of creation from the metadata info.  I was looking at google searches and found Aperture with borderFX plug in might work.  Can anyone confirm this is a fact?  I would hate to pay for the software to find out this feature is not available during export.

    BorderFX and Aperture are a great combination for framing and annotating your finished photos. I like to second Frank Caggiano's answer.
    I am not sure from your post, if you already have Aperture, so just an add-on: BorderFX works also with iPhoto as an "Export" plug-in.
    You can access it in the "File > Export" panel, when saving a photo.
    If you do not own Aperture but iPhoto, you can try BorderFX first with iPhoto and see if it will suffice for your purposes. BorderFX is "Donation ware". You can try and explore it freely, before you donate. 
    BorderFX - iBorderFX iPhoto
    An Example:

  • SSRS Date and time Parameter

    Hi Forumers'
    Im trying to design a report in SSRS with date and time parameters
    I would like to combined the fromdate,fromtime and stored the value to @Fromdatetime and
    same with also todate,totime into @ToDatetime. i will used this in a where clause condition.
    can you give me guys an idea. btw, i'm using Text queries not stored procedure.
    Right now I tried this query but i got an error.
    The variable name '@FromDatetime' has already been declared. Variable names must be unique within a query batch or stored procedure.
    DECLARE @fromDateTime as datetime, @toDateTime as datetime
    SET @fromdatetime = dbo.getCombinedDateTime(@fromDate,@fromTime)
    SET @todatetime = dbo.getCombinedDateTime(@toDate,@toTime)
    Select
    v.JOURNALID
    ,v.TRANSDATE
    ,v.ITEMID
    ,v.QTY
    ,v.COSTAMOUNT
    ,v.JOURNALTYPE
    ,v.BOMLINE
    From INVENTJOURNALTRANS v with (nolock)
    Where v.TRANSDATE between @FromDatetime and @ToDatetime
    and v.JOURNALTYPE=3
    and v.BOMLINE=0
    Thank you.
    jov

    Hope this will help you. Set a parameter for  @timezoneoffset= 8, including the startdate, Enddate, StartTime,  EndTime and FromDatetime and ToDatetime. Then in your dateset properties navigate to parameters then in the parameter value of @FromDatetetime
    and ToDatetime you created you will combine the @Startdate and Starttime:
    by the way,   @timezoneoffset, set this as hidden in parameter visibility, then in default values under specify values place the 8.
    Here we go:
    In your parameters you have the following data:
    StartDate:             Starttime:
    EndDate:               EndTime:
    in your dataset properies under expression of @FromDatetime and @Todatetime you have to combine the parameter you setup.
    @FromDatetime
    =Parameters!StartDate.Value &" "&Parameters!Starttime
    @Todatetime
    =Parameters!EndDate.Value &" "&Parameters!Endtime
    In your select statement you have to do like this.
    SELECT * FROM WHERE DATEADD(HOUR,convert(int,@timezoneOffset), pt.CREATEDDATETIME) BETWEEN (@fromDateTime)
    AND  (@toDateTime)

  • Calendar: Date and Time

    Hello,
    Can we add both the date and time together using web dynpro ABAP as available in SAP CRM? If yes, How?
    Thanks,
    Rinkal

    >
    Rinkal Salia wrote:
    > Hello,
    >
    > Can we add both the date and time together using web dynpro ABAP as available in SAP CRM? If yes, How?
    >
    > Thanks,
    > Rinkal
    You need to give more details of what you want to do other than to just state as available in SAP CRM.  I have a feeling that most people in the WDA forum (myself included) haven't worked extensively in SAP CRM because it doesn't use WDA.
    Do you mean some combined UI element that displays date and time together? Please describe.

  • Search Bill for Phone Number. Date and Times?

    Hello-
    I am having a problem doing a search over the past 12 months for an individual number.
    Is there a quick and easy way to display the dates and times that I've placed a call to one specific number over the past 12 months?
    Thank you!

    YPP wrote:
    I was hoping for a way to search online and get a line by line display of dates for the calls made.
    If I have to download each pdf into a spreadsheet, combine them and do a search it will take a considerable amount of time.
    To reinforce Spiral's suggestion, if you go to the Usage Details tab you can download your data in csv format. Granted, downloading 12 files and stitching them together isn't as convenient as an online search. However, it's much easier to do this with csv downloads than it would be if you had to do the pdf-to-spreadsheet conversion yourself. And once you've pieced things together, the data are a lot of fun to play with.

  • Iit is setting date and time but keeps going in circle . but never sets up

    Try to use apple tv. But when turn it on. It is setting Date and time? But the cursur is just going around and around and nothing happen for a while. It doesnt set the time or date, so can watch apple tv.?why?

    I have had this frustrating problem twice.  Combinations of resets, restores, restarts of routers etc have been generally unsuccessful.
    My Apple TV2 has full internet connectivity (through a internet cable, connected to a D-Link gigabit switch, connected to a Generation 4 Apple Time Capsule, connected to a high speed Comcast ARRIS modem).
    The Apple TV2 works well with AirPlay, Youtube, HD movie trailers, HomeSharing music and photos, etc, but won't connect to NetFlix, allow movie rental, or allow iTunes purchased home computer programs to display due to not being conneted to an iTunes account.
    And I can't connect to the iTunes store because the "time and date cannot be set".
    Note that my iMac is connected to the same gigabit switch as my Apple TV2 and it can automatically set time and date, just fine.  I tested by turning off the auto set, setting the wrong time, then turning it back on and having the system time and date properly reset... twice!
    This time, my problem was solved by going into the Time Capsule, changine IPv6 setting from HOST to "Local Link".  The Apple TV2 immediately knew the time and was able to connect to the iTunes store.
    I recall that last time I "fixed" this problem, I changed that same setting from Local-Link to Host.
    I agree with lagoed, Apple should fix this vexing problem, the sooner the better.

  • Filter a list-views on page by Date and Time column, not only by Date (Connected Webpart)

    I have a task - create a page and display on it all lists/libraies with documents of team meetings. Every meeting has a documents and another information, which is storing in the same lists/libraries  on website as another meetings. Additionally there
    is a field "MeetingDate" (type: DateTime), which help to indetify a meeting documents.
    I have added all on one page and my custom connected webpart (IWebpartRow interface), which help to filter all views on page by field meeting date. It send a date to another webparts on page, and user see information only for this date.
    It works fine, but the problem is, that it used only DATE (without time) and i need now to filter all by date and time. 
    Unfortunately, i noticed that i cannot filter items by date with time in the standard list too. Please see my screenshot.
    My question is: may be i should use another interface (not IWebPartRow) that to send 2 values (1 - date, 2 - time) and filter all by 2 columns. Is it possible?
    Unfortunatelly i didn't find something like this. I found only a solution to build url like 'http://sp2013/SitePages/Homepage.aspx#InplviewHasha2528afc-50c3-4d5e-aae9-682400976409=FilterField1%3DDatum-FilterValue1%3D2015%252D02%252D27-FilterField2%3DCustomTime-FilterValue2%3D11%253A00'
    , but it looks not so good ..(
    from MSDN forum...

    Hi,
    Per my understanding, you might want to display all the specific documents in a page, they can be filtered by values of a Date and time column.
    A possible solution I will provide is that, we can create custom visual web part to display all these documents. In the code behind, run a query with CAML to retrieved all the
    documents with the specific date and time, then generate a view of hyperlinks that points to these documents.
    In this way, we can combine the filter component with the data display component into one web part, with the help of CAML query and Object Model, it would not be a tough job to
    implement such a solution.
    More information about CAML and Object Model:
    https://msdn.microsoft.com/en-us/library/office/ee536691%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
    Thanks
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Date and Time in Sender File Adapter Target Directory

    Hi there,
    is there a way of using Date and Time from XI to the Target Directory naming? To use variable substitution some fields of the message had to contain that date and time information, which is not our case.
    For filename you can use "add time stamp" option, but and for target directory?
    Thanks and regards,
    Henrique.

    > <i>Do you have further information on how to perform
    > this with shell commands?</i>
    > >> You need to write a shell script. This script will
    > add the date/time stamp into the folder in the target
    > system. This shell script is executed from the File
    > adapter. So once the file is written into the target
    > directory, then it will rename the directory.
    Hi there, Moorthy
    We've tried to write that shell script that you mentioned, but now we have a few doubts on how to make it create the proper directory.
    In the file adapter, my target directory is "/%var1%/%var2%/", where %var1% and %var2% are variable substitutions, referencing data which comes from the payload. Now, I need the shell script to append "/<Year>/<Month>/" in the target directory. But where to archive the script? If it stays in the root directory, than how to make it create "/<Year>/<Month>/" folders inside a directory which is variable (/%var1%/%var2%/)?
    Is there a way of passing %var1% and %var2% as parameters for the shell script?
    Thanks a lot,
    Henrique.

  • Unable to insert date and time when using date datatype

    Hi
    I am hitting a bit of a problem when using the date datatype. When trying to save a row to the table where the field it throws an error ora 01830 and complains about converting the date format picture ends...etc. Now when I do the insert, I use the to_date function with the format of "dd-mon-yyyy hh24:mi:ss". Of course, when I remove the time element, everything is perfect.
    Checking sysdate, I noticed that the time element wasn't be displayed, and I used alter session set nls_date_format to set the date and time I want to save to the table, which worked!
    Then based on advice in a previous thread to permanently fix the problem, I used alter system set nls_date_format ="dd-mon-yyyy hh24:mi:ss" scope=spfile; This showed that it was altered, and I can see the setting in the em. In sqlplus, I shutdown the database, and restarted with startup mount; alter database open; and then selecting sysdate, it still shows the date as dd-mon-yy, and still no time! Checking the em, and looking up the nls_date_format the setting is still shown as "dd-mon-yyyy hh24:mi:ss".
    So, my question is this - what am I doing wrong? Why can't save date and time using date in Oracle 11g?????
    Thanks

    user633278 wrote:
    Hi
    I am hitting a bit of a problem when using the date datatype. When trying to save a row to the table where the field it throws an error ora 01830 and complains about converting the date format picture ends...etc. Now when I do the insert, I use the to_date function with the format of "dd-mon-yyyy hh24:mi:ss". Of course, when I remove the time element, everything is perfect.
    Checking sysdate, I noticed that the time element wasn't be displayed, and I used alter session set nls_date_format to set the date and time I want to save to the table, which worked!
    Then based on advice in a previous thread to permanently fix the problem, I used alter system set nls_date_format ="dd-mon-yyyy hh24:mi:ss" scope=spfile; This showed that it was altered, and I can see the setting in the em. In sqlplus, I shutdown the database, and restarted with startup mount; alter database open; and then selecting sysdate, it still shows the date as dd-mon-yy, and still no time! Checking the em, and looking up the nls_date_format the setting is still shown as "dd-mon-yyyy hh24:mi:ss".
    So, my question is this - what am I doing wrong? Why can't save date and time using date in Oracle 11g?????
    ThanksYou most certainly can save the time. A DATE column, by definition stores date and time. What you describe is a presentation problem, and setting nls_date_format at the system as an init parm is the weakest of all settings as it is overridden by several other locations.
    without seeing the exact sql that produced the error (not just your description of what you think you were doing) it is impossible to say for sure.
    However, I'd suggest you read http://edstevensdba.wordpress.com/2011/04/07/nls_date_format/

Maybe you are looking for