PDM Viewer do not display data with time stamp

Need help with the timestamp of the data in a PDM file generated by the DAQ Assistant.

When I use the PDM Viewer, with x the value absolute time scale, the date starts in 1903. If I use Excel to look at the file that the start time is correct (i.e. 2013).

Bo_Xie, I simplified my VI and now able to display the correct time stamp. Thanks for your time!

Tags: NI Software

Similar Questions

  • overloading a DATE with time STAMP function to avoid the "too many declarations.

    CREATE OR REPLACE PACKAGE util
    AS
      FUNCTION yn (bool IN BOOLEAN)
        RETURN CHAR;
    
      FUNCTION is_same(a varchar2, b varchar2)
        RETURN BOOLEAN;
    
      FUNCTION is_same(a date, b date)
        RETURN BOOLEAN;
    
      /* Oracle's documentation says that you cannot overload subprograms
       * that have the same type family for the arguments.  But, 
       * apparently timestamp and date are in different type families,
       * even though Oracle's documentation says they are in the same one.
       * If we don't create a specific overloaded function for timestamp,
       * and for timestamp with time zone, we get "too many declarations 
       * of is_same match" when we try to call is_same for timestamps.
       */
      FUNCTION is_same(a timestamp, b timestamp)
        RETURN BOOLEAN;
    
      FUNCTION is_same(a timestamp with time zone, b timestamp with time zone)
        RETURN BOOLEAN;
    
      /* These two do indeed cause problems, although there are no errors when we compile the package.  Why no errors here? */
      FUNCTION is_same(a integer, b integer) return boolean;
    
      FUNCTION is_same(a real, b real) return boolean;
    
    END util;
    /
    
    CREATE OR REPLACE PACKAGE BODY util
    AS
      /********************************************************************************
         NAME: yn
         PURPOSE: pass in a boolean, get back a Y or N
      ********************************************************************************/
      FUNCTION yn (bool IN BOOLEAN)
        RETURN CHAR
      IS
      BEGIN
        IF bool
        THEN
          RETURN 'Y';
        END IF;
    
        RETURN 'N';
      END yn;
    
      /********************************************************************************
         NAME: is_same
         PURPOSE: pass in two values, get back a boolean indicating whether they are
                  the same.  Two nulls = true with this function.
      ********************************************************************************/
      FUNCTION is_same(a in varchar2, b in varchar2)
        RETURN BOOLEAN
      IS
        bool boolean := false;
      BEGIN
        IF a IS NULL and b IS NULL THEN bool := true;
        -- explicitly set this to false if exactly one arg is null
        ELSIF a is NULL or b IS NULL then bool := false;
        ELSE bool := a = b;
        END IF;
        RETURN bool;
      END is_same;
    
      FUNCTION is_same(a in date, b in date)
        RETURN BOOLEAN
      IS
        bool boolean := false;
      BEGIN
        IF a IS NULL and b IS NULL THEN bool := true;
        -- explicitly set this to false if exactly one arg is null
        ELSIF a is NULL or b IS NULL then bool := false;
        ELSE bool := a = b;
        END IF;
        RETURN bool;
      END is_same;
      
      FUNCTION is_same(a in timestamp, b in timestamp)
        RETURN BOOLEAN
      IS
        bool boolean := false;
      BEGIN
        IF a IS NULL and b IS NULL THEN bool := true;
        -- explicitly set this to false if exactly one arg is null
        ELSIF a is NULL or b IS NULL then bool := false;
        ELSE bool := a = b;
        END IF;
        RETURN bool;
      END is_same;
    
      FUNCTION is_same(a in timestamp with time zone, b in timestamp with time zone)
        RETURN BOOLEAN
      IS
        bool boolean := false;
      BEGIN
        IF a IS NULL and b IS NULL THEN bool := true;
        -- explicitly set this to false if exactly one arg is null
        ELSIF a is NULL or b IS NULL then bool := false;
        ELSE bool := a = b;
        END IF;
        RETURN bool;
      END is_same;
    
      /* Don't bother to fully implement these two, as they'll just cause errors at run time anyway */
      FUNCTION is_same(a integer, b integer) return boolean is begin return false; end;
      FUNCTION is_same(a real, b real) return boolean is begin return false; end;
      
    END util;
    /
    
    declare
     d1 date := timestamp '2011-02-15 13:14:15';
     d2 date;
     t timestamp := timestamp '2011-02-15 13:14:15';
     t2 timestamp;
     a varchar2(10);
     n real := 1;
     n2 real;
    begin
     dbms_output.put_line('dates');
     dbms_output.put_line(util.yn(util.is_same(d2,d2) ));
     dbms_output.put_line(util.yn(util.is_same(d1,d2) ));
     dbms_output.put_line('timestamps'); -- why don't these throw exception?
     dbms_output.put_line(util.yn(util.is_same(t2,t2) ));
     dbms_output.put_line(util.yn(util.is_same(t,t2) ));
     dbms_output.put_line('varchars');
     dbms_output.put_line(util.yn(util.is_same(a,a)));
     dbms_output.put_line(util.yn(util.is_same(a,'a')));
     dbms_output.put_line('numbers');
     -- dbms_output.put_line(util.yn(util.is_same(n,n2))); -- this would throw an exception
    end;
    /
    Originally, I had just the a function with the arguments of VARCHAR2. It worked not correctly because when the dates were gone, the automatic conversion into VARCHAR2 lowered the timestamp. So, I added a 2nd function with the arguments to DATE. Then I started to get "too many declarations of is_same exist" error during the passage of time stamps. This made no sense to me, so, although documentation Oracle says you can't do this, I created a 3rd version of the function, to manage the TIMESTAMPS explicitly. Surprisingly, it works fine. But then I noticed that he did not work with TIMESTAMP with time zones. Therefore, the fourth version of the function. Docs of the Oracle say that if your arguments are of the same family, you can't create an overloaded function, but in the example above shows, it's very bad.

    Finally, just for grins, I created the functions of number two, one number, the other with REAL and even these are allowed - they are compiled. But then, at runtime, it fails. I'm really confused.

    Here's the apparently erroneous Oracle documentation on this subject: http://docs.oracle.com/cd/B12037_01/appdev.101/b10807/08_subs.htm (see overload subprogram names) and here are the different types and their families: http://docs.oracle.com/cd/E11882_01/appdev.112/e17126/predefined.htm.

    Published by: hot water on 9 January 2013 15:38

    Published by: hot water on 9 January 2013 15:46

    >
    So, I added a 2nd function with the arguments to DATE. Then I started to get "too many declarations of is_same exist" error during the passage of time stamps. It makes no sense for me
    >
    This is because when you pass a TIMESTAMP Oracle cannot determine whether to implicitly convert to VARCHAR2 and use your first function or implicitly convert to DATE and use your second function. Where the "too many declarations" error exist.
    >
    , even if said Oracle documentation you can not do, so I created a 3rd version of the function to manage the TIMESTAMPS explicitly. Surprisingly, it works fine. But then I noticed that he did not work with TIMESTAMP with time zones.
    >
    Perhaps due to another error "too many declarations? Because now, there will be THREE possible implicit conversions that might be made.
    >
    Therefore, the fourth version of the function. Docs of the Oracle say that if your arguments are of the same family, you can't create an overloaded function, but in the example above shows, it's very bad.
    >
    I think that the documentation, of the family of 'date', is wrong as you suggest. For WHOLE and REAL, the problem is that those are the ANSI data types and are really the same Oracle data type; they are more like "alias" that different data types.

    See the doc of SQL language
    >
    ANSI SQL/DS and DB2 data types

    The SQL statements that create tables and clusters allows also ANSI data types and products IBM SQL/DS and DB2 data types. Oracle recognizes the ANSI or IBM data type name that differs from the Oracle database data type name. It converts the data type for the equivalent Oracle data type, stores the Oracle data type under the name of the column data type and stores the data in the column in the data type Oracle based on the conversions listed in the following tables.

    INTEGER NUMBER

    INT

    SMALLINT
    NUMBER (38)

    FLOAT (Note b)

    DOUBLE-PRECISION (Note c)

    REAL (Note d)
    FLOAT (126)

    FLOAT (126)

    FLOAT (63)

  • How can I print my photos displaying the date and time stamp

    I have pictures in a legal context but do not understand how to print them displaying the date and time stamp.  The timbre of the date and time are necessary for me to present my case exactly.  Can someone tell me how to print with these marks.

    Thank you

    The following instructions will prepare photos
    with the EXIF Date/time stamp then you can print
    them.

    FastStone Image Viewer freeware can add
    EXIF Date/time in the face of your photos in a batch.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    FastStone Image Viewer
    http://www.FastStone.org/FSViewerDetail.htm
    (Windows XP / Vista / 7)

    I suggest that you create a new folder and add
    copies of your photos for experimental purposes.
    If you are unhappy with the result your originals
    will be intact.

    After FastStone is downloaded and installed...
    Open the program and go...

    Tools / open the Batch Conversion / tab Batch convert...

    Check the box... Use of advanced options...

    Advanced Options button / tab text.
    Check the box... Add text...

    (You will need to experiment with the position and the police
    size and color to get the desired result.)
    (the text size will need to be adjusted according to the)
    the size of the photos)

    Open the window drop... "Insert a Variable."
    choose... EXIF Date Time / Date and time...
    (in the white field you should see ($H1)
    Left click... Ok

    On the Batch tab convert... in the left field...
    Left click the square button "select the Source folder.
    Find and select the photos you want to
    Add.

    Left, click on the Add button to move the files to
    the right field.

    Choose an output Format...

    Choose an output folder...

    Click on the button convert...

    It's much easier to do than to explain then
    give it a try before say you "Good Grief... it's too
    a lot of work.

  • Date and time stamp not updated

    Following my previous posts, the date and time stamp of the files updated don't are not updated in the RoboSource Control, i.e. the column changed in the Explorer RoboSource Control. However, it seems that changes are stored on the server when the topics are archived, as I can right-click a file to source code control that I've changed, choose the command view and see the changes in the HTML code.

    Basically, this means that source code control is not recognizing that the files have changed and that's why when someone is trying to get the last version he thinks he's one because the date and time are the same as the previous version.

    Everyone knows this behavior before or know why the modified column suddenly stopped updating?

    Thank you

    Jonathan

    After a few Google searches of the digging and random, the following article seems to have solved my problem.

    It seems that if you run RoboSource Control on 64-bit computers, there are problems with checking in files.

    http://helpx.adobe.com/robohelp/kb/cant-check-files-robosource-control.html.

  • Rough terrain when the data is plotted with time stamp of AM / PM or to the right!

    Hi to all programmers.

    I'm attached Datafile. Can someone tell me how to draw this line! I need all of the data plotted on the right and the x - axis with the date and time stamp.

    I understand that the chart cannot understand that after the time: 12:59:59.999, it's 01:00:00.000 afternoon.

    Thanks to Labview 7.1

    Concerning

    HFZ

    Apart from a code that can be simplified by the use of other functions, what I see, it's that the file you provided does not match the format that expects the VI.

    Other comments:

    • I don't understand why you're going to all the trouble of the evolution of the time string when all what you need to do is:

    • All the way at the beginning, use the function of path of the band to get the file name rather than the gymnastics that you're doing.
    • Your time loop must be indexed for auto-loop.
    • I can't quite understand what you're trying to do with all these sliders.
  • STROKE (Application Visibilty Control) on WLC 5508 7.5 do not display data

    Dear all

    My WLC has problem...

    the STROKE is not display data (graphic or otherwise)

    I have already set up two Wlan id with the visibility control, but two of them do not display data...

    Here is my setup place WLC 5508...

    My WLC running on OS 7.5

    pack 1.0 protocol version

    NBAR engine 13.0

    AUS 6.0.182.0

    Cisco controller) > see the version of the Protocol-pack stroke

     

    Protocol STROKE Pack name: Protocol Advanced Pack

    Protocol STROKE Pack Version: 1.0

     

    (Cisco Controller) > show stroke engine version

     

    Version of the engine STROKE: 13

     

    (Cisco Controller) > show sysinfo

     

    Name of the manufacturer... Cisco Systems Inc..

    Product name... Cisco controller

    Version of the product... 7.5.102.0

    Bootloader Version... 1.0.1

    Retrieving Image Version field... 6.0.182.0

    Firmware version... Console USB 1.3, 1.6 Env FPGA, 1.27

    even from CLI still do not display data

    (Cisco Controller) >Show stroke statistics upstream applications top

     

    Perspective of the STROKE is 0 for all applications.

    MISTLETOE on attachment configuration capture

    Need your advice is there any configuration that I miss... ??

     

    As long as you go to the STROKE centre should work in Flexconnect. You can check the AP mode under wireless > click on any access point.

    http://www.Cisco.com/c/en/us/support/docs/wireless/5500-Series-Wireless-...

  • Form Validation failure: "value is not a date and time in the format"

    Hello world

    I am facing a weird problem in my custom OAF page. I'm displaying the records of a particular table through dynamic VO and dynamic array. All records appear correctly. But when I try to click on NEXT 10 records in a table, I get the error like "FAILED FORM VALIDATION: 1000 ORG CUST BO VERSION is not a date and time in the format. Just like in the screenshot below.

    DESKTOP.JPG

    Strange part of the question, if I select the columns to display not related to this day, so I only am not facing problems. If I select only dates to display and also am not facing this problem. If I use the mixture of this type varchar2 and data, I get this error.

    I tried to change the type of data but no use.

    If we close, look at the PARTY_ID error message trying to copy its data to ORG_CUST_BO_VERSION the last column. Why what's happening clue me less. Can anyone guide me on this please?

    The problem is that you use the same name for the creation of the MessageTextInputBean inside the Table.

    The name of MessageTextInputBean make it dynamic.

    ex: -.

    OAMessageTextInputBean oamessage = (OAMessageTextInputBean) createWebBean (pageContext,

    MESSAGE_TEXT_INPUT_BEAN,

    NULL,

    'text' + columnNo);

    See you soon

    AJ

  • Query to display data with total

    Hi team,

    I have the whee requirement I need to display data with total and the total general.

    Examples of data include:

    with t as 
    (select 'chris' nm , 10 no ,'FT' Emplmt, 'PF' ProFund , 'Reg' Status ,to_Date ('05/02/2014','mm/dd/yyyy') dt , 2456 sal, 10 days , 50 intrst ,55 intrs1 ,60 intrs2 from dual
    union all
    select 'chris' nm , 10 no ,'FT' Emplmt, 'PF' ProFund , 'Reg' Status ,to_Date ('06/10/2014','mm/dd/yyyy') dt , 1000 sal, 30 days , 50 intrst ,55 intrs1 ,60 intrs2 from dual
    union all
    select 'chris' nm , 10 no ,'FT' Emplmt, 'PF' ProFund , 'NonReg' Status ,to_Date ('06/10/2014','mm/dd/yyyy') dt , 20 sal, -5 days , 1 intrst ,1 intrs1 ,1 intrs2 from dual
    union all
    select 'john' nm , 11 no ,'PT' Emplmt, 'PF' ProFund , 'Reg' Status ,to_Date ('05/02/2014','mm/dd/yyyy') dt , 1153 sal, 10 days , 50 intrst ,55 intrs1 ,60 intrs2 from dual
    union all
    select 'john' nm , 11 no ,'PT' Emplmt, 'PF' ProFund , 'Reg' Status ,to_Date ('05/16/2014','mm/dd/yyyy') dt , 1000 sal, 8 days , 40 intrst ,45 intrs1 ,50 intrs2 from dual
    )
    select * from t 
    

    Need the output like below format

    Chris FT 10 PF Reg 02/05/2014 2456 10 50 55 60

    Chris FT 10 Reg 10/06/2014 1000 PF 30 50 55 60

    Chris 10 FT PF NonReg 10/06/2014 20 - 5 1 1 1

    5456 35 101 111 121 subtotal

    John PT PF Reg 02/05/2014 1153 11 10 50 55 60

    John PT Reg 16/05/2014 1000 PF 11 8 40 45 50

    2153 18 90 100 110 subtotal

    7609 total 53 191 211 231

    Could you please give some thought to get the result as above.

    Thank you!

    something like this:

    with t as (select "chris" nm, 10 no, "Pi" Emplmt, "PF" ProFund "Reg" Status, to_Date (May 2, 2014 "," mm/dd/yyyy") dt, 2456 sal, 10 days, 50 intrst, intrs1 55 intrs2 60 double)

    Union of all the

    Select "chris" nm, 10 no, "Pi" Emplmt, "PF" ProFund "Reg" Status, to_Date (June 10, 2014 "," mm/dd/yyyy") dt, intrst 50, intrs1 55, 1000 sal, 30 days, 60 intrs2 of the double

    Union of all the

    Select "chris" nm, 10 no, "Pi" Emplmt, ProFund "PF", "NonReg" State, to_Date (June 10, 2014 "," mm/dd/yyyy") dt, 20 sal,-5 days, 1 intrst, 1 intrs1, 1 intrs2 of the double

    Union of all the

    Select "Jean" nm, 11 no, "PT" Emplmt, "PF" ProFund "Reg" Status, to_Date (May 2, 2014 "," mm/dd/yyyy") dt, 1153 sal, 10 days, 50 intrst, intrs1 55 intrs2 60 double

    Union of all the

    Select "Jean" nm, 11 no, "PT" Emplmt, "PF" ProFund "Reg" Status, to_Date (16 may 2014 "," mm/dd/yyyy") dt, 1000 sal, 8 days, intrst 40, 45 intrs1, 50 intrs2 of the double

    )

    SELECT decode (REUNION (nm), 1, 'Total', decode (grouping (State), 1, "partial": nm, nm)) nm

    , no, emplmt, profund, status, dt, sum (sal), sum (days), sum (intrst), sum (intrs1), sum (intrs2)

    T

    Rollup Group (nm, (no, emplmt, profund, status, dt));

    HTH

  • How to validate a date with time

    Hi all

    How can I validate date with time?

    Here is my code:

    var tempDate:Date = new Date();

    If (tempDate < 18 September 2012 07:30 ') {}

    doSomething

    }

    Thanks in advance

    A cleaner way is the dateCompare method:

    If (ObjectUtil.dateCompare (date1, date2) > 0) {}

    Date1 > date2

    } else ObjectUtil.dateCompare (date1, date2)<0)>

    date2 > date1

    } else {}

    date2 is date1

    }

  • Strange problem casting between the DATE and time STAMP

    Hello world

    I'm faced with a problem of strange casting between the DATE and time STAMP. Strange, because this happens in SQL-Developer and the Testdatabase, but not when called from inside SQL-Plus, even if all Session settings are set to the top completely equal.

    I work on the Oracle 11 g Enterprise Edition Release 11.2.0.1.0 Windows database and run the following script, taken from SQL-Developer script output:

    < pre >
    create table ts_test)
    time/date stamp,
    stamp_copy timestamp)
    table TS_TEST standing.

    create or replace view vw_test as
    Select cast (date stamp) buffer,
    Cast (stamp_copy as date) stamp_copy
    of ts_test
    view VW_TEST standing.

    insert into ts_test
    Select systimestamp, the double null
    1 eingefugt Zeilen.

    Commit
    festgeschrieben.

    create or replace trigger trg_ts_test_iu
    instead of update on vw_test
    Start
    Update ts_test
    Set stamp_copy =: new.stamp_copy;
    end;
    RELAXATION trg_ts_test_iu kompiliert

    Update vw_test
    Set stamp_copy = stamp
    1 Zeilen written on.

    Select the stamp, stamp_copy, dump (stamp_copy)
    of ts_test
    STAMP STAMP_COPY DUMP (STAMP_COPY)
    -----------------------------------------------------------------------------------------------------------------
    30.05.2012 19:08:49, 218000000 30.05.3192 20:09:50, 000000000 Typ = 180 Len = 7: 131,192,5,30,21,10,51

    Select *.
    of nls_session_parameters
    VALUE OF THE PARAMETER
    ----------------------------------------------------------------------
    NLS_LANGUAGE GERMAN
    NLS_TERRITORY GERMANY
    NLS_CURRENCY €
    NLS_ISO_CURRENCY GERMANY
    NLS_NUMERIC_CHARACTERS.
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT exact hh24:mi:ss
    NLS_DATE_LANGUAGE GERMAN
    NLS_SORT GERMAN
    NLS_TIME_FORMAT HH24:MI:SSXFF
    NLS_TIMESTAMP_FORMAT JJ. MM YYYY HH24:MI:SSXFF
    NLS_TIME_TZ_FORMAT HH24:MI:SSXFF TZR
    NLS_TIMESTAMP_TZ_FORMAT JJ. MM YYYY HH24:MI:SSXFF TZR
    NLS_DUAL_CURRENCY €
    BINARY NLS_COMP
    NLS_LENGTH_SEMANTICS TANK
    NLS_NCHAR_CONV_EXCP FAKE

    17 Zeilen offiziell

    Rollback
    Rollback abgeschlossen.
    < / pre >

    Look at the strange data that stamp_copy was after the update.

    When run from SQL over, everything is fine. But when I run this code in our application, the same phenomenon occurs. I've even seen a data dating back to the year 11907 (!), giving an exception by selecting from the table.

    Someone at - it an idea on how to work around this bug?

    Best regards

    Jürgen

    Did you check metalink for bugs?

    There are a few listed in this blog, that may be useful for you.

    http://hoopercharles.WordPress.com/2011/02/17/strange-timestamp-behavior/

  • Script Automator for the DATE and TIME stamped record

    Hi all

    I'm not a scripter, but are in need of a DATE and time-STAMPED folder (or file) I would like to put on my desktop and have updated automatically so that I can use this tool to quickly see if a backup external (or internal) is current. probably I could also use it to quickly find out how /old/ a backup is.

    for now, I do this manually if I want to quickly verify that a backup works by creating a "date named folder" on the desktop - such as '-2016 03 26 "."» so I can quickly see if a backup I just ran ran.

    I have a lot of backups (internal, external, off site, etc.) and it would be super useful for me to have.

    I consider the name of the folder to be customizable (potentially) in case I need to change it, but a good default would be "-YEAR MONTH DAY" so that I could see easily when this backup has been but also I name my files in this way so they can appear in chronological order "."

    is anyone able to help me with something like that or suggest another forum for cross-post this?

    Thank you

    Jon

    Hello

    Create the the ""new folder " action, like this:"

    ---------------

    Drag and drop the 'Shell Script' variable in the "name:" field.

    --------------

    Double click on the variable in the "name:" field:

    Copy and paste this text in the field 'Script ':

    date "+%Y %m %d"
    
  • record in the table with time stamp

    Hello
    I use Forms6i and db 10g
    I have a datablock in my form, which is based on a table hlp_user_master.
    The table has fields crt_on, upd_on. who is date type.
    Now I'm set sysdate to these areas, before saving it to the database.
    He is now in the database, just.
    But I want it to be like date with the time.
    My Manager said to set the data type of the fields in the form.
    I did the DateTime data type, in the form
    but still in the database, just when saving

    Help, please

    Hello
    If you have changed in the form of the datetime data type and the mask format as I said in my previous post. Then, the database will have time also after saving it. I guess that you are checking in via SQL * more. If so, try the following query.

    SELECT TO_CHAR(DATE_COLUMN,'DD-MON-YY HH24:MI:SS');
    FROM TABLE_NAME;
    

    If the form is stalling as it will display then with time.

    -Clément

  • Check out when a last accessed table (select, insert, update) with time stamp. Auditing enabled

    Hello world

    IM pretty new to audit the database. Auditing is enabled in the database. I would like to retrieve the news all of the objects belonged to a certain pattern when it was last accessed (select, insert, update) with time stamp. Is there any script for this? Your time and your reply is greatly appreciated. Thank you.

    Database version: 11.2.0.4

    Enable audit is not quite enough to get the details when the table is updated/inserted/selected.

    You must activate audting on the object level, then you may only be able to see your report of your choice.

    SELECT OBJ_NAME, ACTION_NAME, to_char (timestamp, ' dd/mm/yyyy, hh') of sys.dba_audit_object.

  • DATE and time STAMP

    All,

    I am convert some sql server scripts to the oracle scripts. I met several times the data type DATETIME has been used in sql server scripts.

    http://docs.Oracle.com/CD/E10405_01/doc/AppDev.120/e10379/ss_oracle_compared.htm

    In the link above, I stumbled upon DATETIME (sql server) is equal to the DATE / TIMESTAMP in Oracle (Oracle).

    Which is better to use between the DATE and time STAMP, performance wise. Please give me some suggestions.

    Thank you

    Hello
    Use the DATE where you have the choice.
    I don't know that the DATEs are more effective than the TIMSTAMPs (even if I have no solid evidence). In addition, DATEs require less storage space, and there are more features available to manipulate DATEs. (These functions usually work on the timestamps also, but they start by converting the TIMESTAMP of a DATE).

  • Oracle SQL Developer - how to display the date with TIME

    OK I change the setting of the NLS to DD-MON-RR HH.MI. SS
    (Tools-> Preferences-> database-> parameter NLS)

    BTW - what is changing the format of the database or just my client side? I don't want to change the database and other users would be affected by my change.


    I check the date time poster by practice
    SELECT double TO_CHAR(SYSDATE + 1, 'DD-MON-YYYY HH:MI:SS');

    Returns
    JUNE 24, 2009 10:32:55

    OK, here is my problem or question...
    but I wan't do in East... I have a column in a table that stores a number of minutes from a given date...
    the given date is 12/30/1899 00:00:00

    If I want to display the minutes in a format of date and time... but when I do
    Select To_TIMESTAMP (30 December 1899 00:00:00 "," mm/dd/yyyy HH24:MI:SS) + (Start_Moment) / 1440.
    To_Date (30 December 1899 00:00:00 "," mm/dd/yyyy HH24:MI:SS) + (Stop_Moment) / 1440
    from tableA

    RESULTS
    22 JUNE 09 23 JUNE 09

    I tried the function TO_CHAR but don't have time to be like
    Select TO_CHAR (to_date('12/30/1899 00:00:00', 'mm/dd/yyyy HH24:MI:SS') + 57580140 / 1440) double

    RESULTS
    22 JUNE 09

    I don't know that it's the simple convert function that I do not know...

    Mark as answer?

Maybe you are looking for