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:

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??

  • HOW: File handling - Date and time of file created/modified

    Hi all,
    Is there any way by which we can find out the date and time of the file created in operating system using file handling through PL/SQL.
    Eg:-
    I have a directory in which I am storing some files, and for a given file name I must know when that file was created, i mean date and time.
    Might be there is some simple way, please help out.
    regards
    CJ

    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:439619916584#73995149457661
    Remember to get the correct privs (java privs) on the directory.
    Mette

  • The date and time of files created and saved are off

    I notice that under the date modified column, files that I have saved or updated are usually a day off. I checked the date and time in the system preferences and it is correct. is something wrong with the battery?

    Hi, paulmont -
    Be sure the Time Zone setting is correct.
    If you have time displayed as 12-hour (rather than 24-hour), be sure the AM/PM setting is correct. Having that wrong will displace the mod/create date/time recorded for a file by 12 hours, which will (at times) shift it to another day.
    If you use Classic, make sure the same settings are in Classic as well as in OSX, particularly the Time Zone setting. This is especially true for machines which can be and are booted into OS 9. The typical symptom for this being the cause is an offset of one or a few hours.

  • Appending date and time to file created in UTL_FILE

    I am trying to create a log file of database (9i) updates using PL/SQL code and I am able to create a file using UTL_FILE utility and in file name I give name as 'log-'||sysdate||'.txt' and it successfully cerates log-22-NOV-05.txt file.
    My problem is adding time to it. I declared a varibale ws_var1 and capture time in it by below statement.
    select to_char(sysdate,"HH24:MM:SS') into ws_var from dual.
    SO when I try to add this to file name as 'log-'||sysdate||'-'||ws_var1||'.txt' the file that gets created is just two number such as 02.txt, 34.txt etc.
    I am not sure where the problem is but any help to create file name with date+time information is apperciated.
    Thx

    Why not just:
    'log-'||TO_CHAR(sysdate, 'DD-MON-YYYY-HH24MISS')||'.txt'
    SQL> select 'log-'||TO_CHAR(sysdate, 'DD-MON-YYYY-HH24MISS')||'.txt' from dual ;
    'LOG-'||TO_CHAR(SYSDATE,'D
    log-22-NOV-2005-170813.txt
    1 row selected.
    SQL>

  • 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.

  • Display current date and time in a Input text field.

    Hi,
    I am new in ADF trying to convert the Oracle Forms to ADF. I have questions how can I display the current date & time in the input text filed when ever the page opens .
    Thanks in advance.

    Hi,
    Check followings will useful
    current date setting
    Current Date

  • Create a folder with date and time

    hey yall. i'm working on a program to assign files to a created directory. for the sake of organization, i want to create a folder that is the date and time it was created. (ie c:\\new\\02-Jun-2008\\file.txt) i know i'm missing something. here's the code i have so far to create the folder:
    Format formatter;
    Date date = new Date();
    formatter = new SimpleDateFormat("dd-MMM-yy_hh:mmaaa");
    String s = formatter.format(date);
    String path = "C:\\new\\";
    String destination = path + s;
    File d = new File(destination);
    d.mkdirs();
    i know its trivial for any advanced user but im only a student and any advise or useful links are great. i'll keep searching in the meanwhile. thanx.

    got it myself. failed to remember NO : are allowed in windows. <sigh>

  • Display current date and time

    Hello everyone,
    how can I display the current date and time in a simple text field?
    Best Mobilizer

    Hello,
    You can simply use
    now()
    You can also do more complex things with this.
    Text(Now(),"hh:mm:ss a/p")
    Check the following page for all the possible functions
    http://siena.blob.core.windows.net/beta/ProjectSienaBetaFunctionReference.html#_Toc373745510
    Regards
    StonyArc

  • DataMart Interface - Date and time of the transferred data

    Hello,
    We have a requirement to build a datamart (cube to cube) between two BW systems, using deltas; this is OK and should not present any issue. However a further requirement has arisen, requiring to provide date and time of the created files to outbound systems. I have been looking to RS* and RO* tables for finding out the details of the delta queue.
    Table RSDMDELTA provides the Data Mart Delta Management: could this table be used to provide required details? Or are there any other relevant tables containing this info?
    Thanks&Regards,
    Begonia

    Hi,
    Thanks for your quick response. We are not using openhubs, but a direct cube to cube datamart - by generating the cube as exporting datasource.
    Is there any equivalent table in this case?
    Thanks&Regards,
    Begonia

  • JSP: Date and Time Count down

    Hi All,
    Sorry if i come to the wrong place.
    I am thinking to write a code by using JSP to count down Date and Time. I have one field in my microsoft access format as Date/Time. I want to get the remain time by using the time in my microsoft access minus the current time in the machine and then count down the remain time.
    Could you please advise??
    Thanks for any advise you may give me,
    Kimsan

    Hi All,
    Sorry if i come to the wrong place.
    I am thinking to write a code by using JSP to count down Date and Time. I have one field in my microsoft access format as Date/Time. I want to get the remain time by using the time in my microsoft access minus the current time in the machine and then count down the remain time.
    Could you please advise??
    Thanks for any advise you may give me,
    Kimsan

  • Date and time field help

    Hey guys and gals,
    I'm working on a basic simple form that I'd like to use as a fax cover sheet and I'm brand new at this and I just can't find the answer anywhere. The only way I can get it to show the date and time is if I choose calculated - read only, then runtime property. But then it changes every time you open the document. It doesn't autofill the date and time any other way. Is there a way to make the date and time auto fill ONLY the first time you fill it out and then lock that field? Or do you just have to choose one of the other options, i.e., user entered - optional, recommended or required and then type it in? Which I don't really get either, because those just give you a blank field that you type in. I don't see the difference between those options and a text field. I thought maybe I could upload the pdf to show you, but I guess you can't do that here. Anyway using Acrobat 9 pro on Vista.

    It sounds like you're using LiveCycle Designer, not Acrobat, to create the form. If that's the case, you should post this question in the LiveCycle Designer forum: http://forums.adobe.com/community/livecycle/livecycle_modules_and_development_tools/livecy cle_designer_es

  • Getting user name, date and time into 1 field

    Hi All,
    I have to add a new field in a customising include of AUFK table. This field should have user name, date and time. How do I store all these values in a single field of the table? Please help.

    Ok Thanks all. Will try your suggestions. But there is one problem. As i have already mentioned that i will have to display this detail in one field of the table control, The format of display is: user name should be seen above and the date and time separated by space should be displayed below the name. How can i ultimately display this in the table control. Do i have to create 2 different fields (one for name and other for date and time) in the AUFK table or is there any other solution?
    Thanks

  • Created date and time

    Hi experts,
                      How can i view the created Time & date of a sales order and its invoice.And also the changed time and date.
    Many Thanks In advance.
    Abhishek

    Hi,
    Goto the T.Code "SE11/SE16".
    Enter the table name as "VBAK".
    Enter your sales order number into the field "VBELN" and then Execute.
    Get the Created date from the field "ERDAT" and time from the field "ERZET".
    Next for getting the creation date and time for Billing document,goto the table "VBRK".
    Pass the billing document number.Execute.
    Get the Created date from the field "ERDAT" and time from the field "ERZET".
    For getting the changed details,there are different ways.
    One such easiest way is goto the T.Code "VA03",Enter your order number.
    Click on Environment-->Changes.
    Select "Overview" and "Additional Info".
    Execute.
    Select your entry and click on choose.
    Here you will get the date and time.
    The similar thing is for billing document changes also use teh T.Code "VF03".
    Or one more way is pass the Order number preceeded by two 0's into the field "Object Id" in the table "CDPOS" and then execute.
    Get teh Changenr.
    Pass the same to "CDHDR" table to get the UDATE and UTIME.
    Regards,
    Krishna.

  • Insert current date and time into Oracle date type field

    I have a JDBC current date and time insert into Oracle 9i that almost works. It submits the current date and a fixed time into the Oracle date type field. I am using Tomcat 6.0.20.
    For example if I insert the data at 7:24:04 PM on Feb 16, 2010 it will insert as: 16-Feb-2010 12:00:00 AM
    The date part works but the time always shows 12:00:00 AM no matter what date or time the data is inserted.
    Here is what I have for my JDBC inserts and I also tried something with DateFormat:
    PreparedStatement ps; Date mydate = new Date(new java.util.Date().getTime()); //insert statement here.... stmt.setDate(1,mydate);
    I also tried:
    PreparedStatement ps; java.sql.Timestamp mydate = new java.sql.Timestamp(new java.util.Date().getTime()); SimpleDateFormat fmt = new SimpleDateFormat(.... //insert statement here.... ps.setTimestamp(1,fmt.format(mydate));
    Both keep submitting the date into Oracle as 16-Feb-2010 12:00:00 AM
    Anyway to get the current date and time? For example if I insert the data at 7:24.04 pm today it should show as 16-Feb-2010 07:24.04 PM in Oracle.

    sportsMarkr wrote:
    Date mydate = new Date(new java.util.Date().getTime());Please see the javadocs for java.sql.Date and note the part that says "...to zero"
    [http://java.sun.com/javase/6/docs/api/java/sql/Date.html]
    If you want a date and time then use java.sql.Timestamp.

Maybe you are looking for

  • How to retrieve apps after a complete iPod reset? The "App_Store Updates Purchase" tab isn't working!

    Hey Apple Community, I have a problem, but every problem has a story, so let me explain that first. Let's start of by saying that I bought my 32 Gb iPod in February, 2012. Over the course of the last 21 monts there have been about 370+ different apps

  • Starting a managed server as standalone

              greetings           environment: weblogic 7.0 clustered on 2 sun boxes (1 box has admin server and           a managed server, the other just managed server).           we recently had hardware failure on on the box with the admin server an

  • Advancing from GL to DW in CS3 or CS4

    Hello: I've been using GoLive for many years and am now ready to switch to Dreamweaver. I'm not a codemonkey. I can copy and paste code and have a very basic understanding of tags and structure. I am no webmaster. I just work on my own website and mo

  • Modelling 1:N relationships using Master Data

    Hello All, I was trying to store the Bill of Material data in BW and was confused as to how model this as master data. The bill of material is basically a BOM number with a number of components in it. i.e. a 1:N relationship between the BOM and the c

  • Bulk add words in highlighted text to built-in dictionary

    Is there a 3rd party utility, OSX Service, or AppleScript that would allow me to highlight a block of text (might be a full document) ... parse out all the words, and add any words not in the built-in dictionary to the built-in dictionary ... ideally