Apex mobile Date-Picker (date with time) format mask error

Hi together.
I'm playing  a little bit with Apex mobile.
I want to save a date with hours and minutes in the database. So i have an date field (type: date with time).
On my phone i can select an date value with time, but when i want to save the value, i get an format error, that the format 'YYYY-MM-DD"T"HH24:MI:SS' is wrong.
I can't change the format mask in the element properties, because it is everytime going back to the old value "YYYY-MM-DD"T"HH24:MI:SS", when i save it.

Not a 100% related, but personally and from a usability point-of-view I really dislike the built-in datetimepicker and so far every client who has seen it has agreed with it. It pops the date and time down to the bottom, it only selects when you hit close, it just doesn't look appealing as the normal datepicker does and you expect more. Personally I've also gone the route Jari described several times, and it's probably still the cleanest and least error-prone option. Validating dates can be quite a pain, but the datepicker built-in validation does that fine, so if you can circumvent validating a free-text time field that helps). I've used some jQuery timepicker plugins aswell, and they're ok, but still don't solve the validation (even though there is some javascript validation you still need serverside validation). All I'm trying to say is that using select lists for hour-minutes is not such a bad idea in my opinion.

Similar Messages

  • Editable and Read-Only Date Picker have different display formats -- Bug?

    Hi all,
    This is a follow on to a previous posting about getting a Date Picker field to display read-only (Date Picker and Read-Only Condition works on LAST state of element
    Now past that hurdle, I have noticed something about the date picker field when it is displays read-only. Namely, the date format is not the format selected, nor does the read-only date format comply with the format mask in the source section.
    I've modified my small test app to work as intended in order to demonstrate this feature. I also opened it up so everyone can see it <blush>. You can find it here: http://htmldb.oracle.com/pls/otn/f?p=42513: Please navigate to the Update Project tab.
    When a project in Program One through Four is selected (which has a Spec Committed date), the date is displayed DD-MON-YY format. When a project the other Programs (which do not have Spec Committed dates at the time of this writing) are selected, and a date value selected with the date picker, the date is displayed in the anticipated DD-MON-YYYY format.
    Anyone else notice this, or have I just missed something obvious?
    Thanks,
    Petie

    I'm not sure why this happens but to work around it I added this before header process code to the page:
    execute immediate 'alter session set nls_date_format = ''DD-MON-YYYY''';
    Scott

  • Date Popup Calendar With Time

    Apex 3.2
    I have an updateable report that requires one of the columns to have a pop up calendar, displaying date and time.
    My sql for the column is currently
    APEX_ITEM.DATE_POPUP(7,null,a.export_time,'dd.mm.yyyy hh:mi:ss')
    I have also tried
    APEX_ITEM.DATE_POPUP(7,null,a.export_time,'dd.mm.yyyy hh24:mi:ss')
    and also tried applying for format mask to the column in the report attributes.
    Unfortunately none of this has worked.
    I only see the normal date picker, with no time element
    I cannot use jquery here and again this is Apex 3.2
    Thanks
    Gus

    Not a 100% related, but personally and from a usability point-of-view I really dislike the built-in datetimepicker and so far every client who has seen it has agreed with it. It pops the date and time down to the bottom, it only selects when you hit close, it just doesn't look appealing as the normal datepicker does and you expect more. Personally I've also gone the route Jari described several times, and it's probably still the cleanest and least error-prone option. Validating dates can be quite a pain, but the datepicker built-in validation does that fine, so if you can circumvent validating a free-text time field that helps). I've used some jQuery timepicker plugins aswell, and they're ok, but still don't solve the validation (even though there is some javascript validation you still need serverside validation). All I'm trying to say is that using select lists for hour-minutes is not such a bad idea in my opinion.

  • Outputted date with unusual format mask

    I am getting a flat file outputed from Fusion Financials SAAS, and one of the columns has this: 2013-11-14T15:10:36.000-06:00
    Clearly its a date. I am guessing its a datetime TIMESTAMP WITH TIME ZONE datatype. But, the Format Model is unfamiliar to me, particularly regarding the letter 'T'.
    Because its a flat file, this is coming to me as varchar2 data. I'd like to convert it to datetime.
    I got to this:
    select to_timestamp_tz('2013-11-14T15:10:36.000-06:00', 'YYYY-MM-DD HH24:MI:SS.FF TZH:TZM') AT LOCAL
    from dual
    It fails because of the letter 'T',
    I know I could do this:
    select to_timestamp_tz(REPLACE('2013-11-14T15:10:36.000-06:00','T',' '), 'YYYY-MM-DD HH24:MI:SS.FF TZH:TZM') AT LOCAL
    from dual
    And it works.
    But that is not the point. The point is to find the Format Model that Oracle is using here.
    Any thoughts on this?
    Thanks,
    Arie

    Arie, the timezone format in the file is based on ISO 8601: ISO 8601 - Wikipedia, the free encyclopedia
    This should work:
    SQL> select to_timestamp_tz('2013-11-14T15:10:36.000-06:00', 'YYYY-MM-DD"T"HH24:MI:SS.FF TZH:TZM') from dual;
    TO_TIMESTAMP_TZ('2013-11-14T15:10:36.000-06:00','YYYY-MM-DD"T"HH24:MI:SS.FF
    14-NOV-13 03.10.36.000000000 PM +06:00
    Hope this helps,
    Oliver
    Fusion Apps Developer Relations
    https://blogs.oracle.com/fadevrel

  • How to send the form data through mail with pdf format?

    forms 6i
    Hi to all,
    i am developed one master detail form.example is based on the dept number emp details will be displayed.here my requirment is whatever displayed on the form
    the data ,these data send to mail with any format.is it possible? if is possible any one give a proper solution.
    Regards,
    Stevie
    Edited by: 994418 on 6 May, 2013 11:15 PM

    Hello,
    you can create a Report that accepts the search parameters from the Forms mask and generates a PDF. You also have the option to send the report via mail.
    Personally I would generate the report with a tool like as_pdf
    http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/
    Then you can send the mail using utl_mail or utl_smtp.
    www.google.com/search?q=site:forums.oracle.com+utl_mail+utl_smtp
    Regards
    Marcus

  • Restore data from Lion with Time Machine

    Help needed!
    I am going to buy a new iMac. Currently I am using Lion (10.7.5) and backing up with Time Machine. So the question is: Can I restore the data from the Time Machine to a new iMac with Mountain Lion or do I need to first upgrade Lion to Mountain Lion?
    Thanks for helping me!

    You can restore this Lion Time Machine backup without any problem. During the first startup of the new iMac, it will ask you to restore the backup, so choose the option to restore from an external drive and follow the steps.
    You will be able to choose what you want to restore, and as you have newer system apps versions than the ones that the backup has, they won't be replacing, keeping Mac OS X working correctly.  Read > http://pondini.org/OSX/SetupLion.html

  • Help me out to create column with time format

    Hi all,
    please help me to find the query to Create a table with 3 columns and insert the following data
    ENTITYID| CHGDATE | CHGTIME
    ======= ==================== ========
    4214984| 02-OCT-06 12.00.00.000000 AM | 07:23:57
    4214985| 11-SEP-08 12.00.00.000000 AM | 10:52:19
    and Update the first row of the above table as follows
    4214984 | 02-OCT-06 07.23.57.000000 AM | 07:23:57
    need to update the CHGDATE column with time of CHGTIME column.

    As already said by Hans and Hoek: you should get rid of that chgtime column. Storing information twice only leads to extra storage and the need to keep them both in sync, without any benefit.
    An example which also shows a possible way to only update the time information. Lots of other ways are possible as well.
    SQL> create table entdate
      2  ( entityid number
      3  , chgdate date
      4  )
      5  /
    Tabel is aangemaakt.
    SQL> insert into entdate (entityid,chgdate) values (4214984, to_date('2006-10-02 07:23:57','yyyy-mm-dd hh24:mi:ss'))
      2  /
    1 rij is aangemaakt.
    SQL> insert into entdate (entityid,chgdate) values (4214985, to_date('2008-09-11 10:52:19','yyyy-mm-dd hh24:mi:ss'))
      2  /
    1 rij is aangemaakt.
    SQL> select * from entdate
      2  /
      ENTITYID CHGDATE
       4214984 02-10-2006 07:23:57
       4214985 11-09-2008 10:52:19
    2 rijen zijn geselecteerd.
    SQL> remark
    SQL> remark  "my doubt is how to update only the time in CHGDATE column"
    SQL> remark
    SQL> update entdate
      2     set chgdate = trunc(chgdate) + numtodsinterval(7,'hour') + numtodsinterval (18,'second')
      3   where entityid = 4214984
      4  /
    1 rij is bijgewerkt.
    SQL> select * from entdate
      2  /
      ENTITYID CHGDATE
       4214984 02-10-2006 07:00:18
       4214985 11-09-2008 10:52:19
    2 rijen zijn geselecteerd.Regards,
    Rob.

  • Is there a way to override the format-mask error message? (oracle forms 6i)

    It seem that if data is enter in a field and doesnt follow the format mask schema. it populates it's default error message.
    was wondering if i can over ride that. and custimize my own error message/validation.

    Hi PandaOracle
    what i do recommand is creating a table called e.g handel_errors having
    Serial PK
    Error_id
    Error_textThen using a code in On-error Trigger & On-message trigger to select from table so any error no can be stored and selected from the db this is the most formal practice i used to use in any application.
    Example
    DECLARE
      alert_message VARCHAR2(200);
    BEGIN
      BEGIN
        SELECT Error_text
          INTO alert_message
          FROM handel_errors
         WHERE msg_code = message_code;
      EXCEPTION
        WHEN No_Data_Found THEN
          alert_message:=message_type||'-'|| To_Char(message_code) || ': ' || message_text;
      END;
      MESSAGE (alert_message); --  Or any alert as previously mentioned
      MESSAGE (alert_message);
    END; Hope this helps,
    Regards,
    Amatu Allah

  • Number Format Mask error

    If i am providing format mask is 9 and providing value as 5, then i am getting output as " 5", means a white space padded just before the output. so can any body inform me is this a forms 6i bug, or the output is something like this only.
    A white space is padding just before the output for any Format Mask.

    what is the maximum lenght of the value?
    select max(length(MODEBA))
      from POLK_A_CT
    SQL> with POLK_A_CT as
      2  (select '123' MODEBA from dual
      3   union all
      4   select '456' MODEBA from dual
      5   union all
      6   select '0987' MODEBA from dual)
      7  select to_number(MODEBA,'999') MODEBA
      8    from POLK_A_CT;
    ERROR:
    ORA-01722: invalid number
    no rows selected
    SQL> with POLK_A_CT as
      2  (select '123' MODEBA from dual
      3   union all
      4   select '456' MODEBA from dual
      5   union all
      6   select '0987' MODEBA from dual)
      7  select to_number(MODEBA,'099') MODEBA
      8    from POLK_A_CT;
    ERROR:
    ORA-01722: invalid number
    no rows selected
    SQL> with POLK_A_CT as
      2  (select '123' MODEBA from dual
      3   union all
      4   select '456' MODEBA from dual
      5   union all
      6   select '0987' MODEBA from dual)
      7  select lpad(MODEBA,3,'0') MODEBA
      8    from POLK_A_CT;
    MOD
    123
    456
    098
    SQL>

  • Extremely slow performance transferring data over USB with Time Capsule

    I have the 2TB wireless Time Capsule. I have it setup as an extension to my current WiFi at home, since I already had a WLAN router. I have an external harddrive (500gig) that I connected to my Time Capsule because I wanted to transfer data from the Time Capsule to the external HD. The external HD is formatted with FAT32 file system, so read/write is no problem.
    When, using my MacBook Pro, I navigated to the Time Capsule and dragged files over to the connected USB harddrive (connected directly in the Time Capsule), the performance to transfer is extremely SLOW! It was slower than doing the transfer completely wirelessly (USB drive connected to laptop and transfer wirelessly from TC)!
    I do not understand this at all! It should be a simple transfer using the USB connection! When I do a transfer from my laptop directly to the USB harddrive, with it connected directly to the laptop, the transfers are super fast!
    What happened? Can someone please explain this or tell me what I need to do?
    Thank you!

    I am still confused here.
    My original question was regarding the use of my USB external harddrive. It was connected to the back of the TC. The TC was wirelessly speaking to my WLAN router. Using my laptop (also wirelessly speaking to WLAN router), I navigated to the TC and saw 2 listings - one for the data on the harddrive in the TC and one for the new external USB drive connected to the back of the TC. I wanted to transfer data from the harddrive in the TC to the USB external drive. Based on what I expected, I thought the transfer rate would merely be limited by the USB 2.0 interface that is being used by the external drive. However, I was definitely wrong! The transfer rate (shown by the estimate in time to transfer the data by my MacBook Pro) was doubled to 14 hrs.
    Originally, it was only 7 hrs when the USB external drive is connected directly to my laptop and I connect to the TC wirelessly. Weird!
    So why doesn't the TC simply transfer the data from its internal harddrive to the external USB drive directly without using any wireless technology?
    The second question I have is regarding the setup of the TC itself. I have a NetGear WLAN router and its an "n" router. So the speed is good. I have my TC currently downstairs from the WLAN router. Therefore the TC is setup as simply a wireless harddrive. It speaks through the WLAN router in order to be available to all my laptops in my house. My question is whether it should instead be directly connected to the WLAN router using an ethernet cable? Would this improve my overall transfer rates to/from the TC?
    Thanks so much.

  • Writing data to spreadsheet with time stamp

    Hi
    I am in the process of making a data logger using FPGA DMA FIFOs to read analog inputs into a real time host vi. This vi then queues the data to a second, lower priority loop. It is my goal that at this stage the data will be written to a spreahseet somehow with a usec-accurate timestamp as the first column, and all relevent column headings etc
    I have uploaded my project as a zip for your viewing.
    Thank you all for your help!
    Attachments:
    HS DAQ.zip ‏656 KB
    HS DAQ.zip ‏656 KB

    Have you tried using the Get Date/Time in Seconds to return a timestamp for your data which you could then build into an array with your data?  You could then write this data to a spreadsheet file if you like.
    Kind Regards,
    Robert Ward
    Applications Engineer, NI

  • Exporting data to excel with time stamp

    We have written an express VI code recording voltage. The code works, and the data is recorded, but the data is transferred to an excel file without the time stamp. In the excel file we have the data down column A, but there is no time at which any of the data was recorded. Is there a way we can get the time recorded in excel also? Thanks for the help.

    I maybe wrong but I believe that the timestamp data associated with the data that is logged will be in the TDMS file as properties of those channels.  Are you sure the time data isn't logged as a property?
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • EXport Data to Excel with Columns format

    Dear All,
    This may  be a basic question, however, I just need a tip to conclude my issue. 
    I have a Report that displays Financial Budget data (AFE).  I am able to download to the Excel sheet.  However, I need to conclude it with the column formatted at code itself and not given to the user.
    That is I want to set couple of column to Numeric, and Set Colum width defined at Code level itself.
    I am already using the Function module : MS_EXCEL_OLE_STANDARD_DAT
    Regards,
    Venkat

    data: go_excel       type ole2_object,
              Go_CELL        TYPE OLE2_OBJECT,
              go_workbooks   TYPE OLE2_OBJECT,
              go_workbook    TYPE OLE2_OBJECT,
              go_sheet       type OLE2_OBJECT,
              go_application type OLE2_OBJECT,
              go_activesheet type OLE2_OBJECT,
              go_text        type OLE2_OBJECT.
        gv_EXTRD = sy-datum.
        gv_EXTRT = sy-uzeit.
        concatenate pfile gv_EXTRD gv_EXTRT  'check.xls' into gv_file.
        clear: gt_export, gs_export.
    ****INITIATE EXCEL
    Create object Excel
        create object go_excel 'EXCEL.APPLICATION'.
        set property of go_excel 'Visible' = 0.
    Create workbook object
        call method of go_excel 'WORKBOOKS' = go_workbook .
      Add workbook
        call method of go_workbook 'Add' = go_workbook.
        lv_line = 0.
        loop at gt_collect ASSIGNING <collect>.
          lv_line = lv_line + 1.
          move-corresponding <collect> to gs_export.
          clear: gs_export-ZALDT.
          concatenate <collect>-ZALDT4(2) '-' <collect>-ZALDT6(2) '-' <collect>-ZALDT+0(4)
               into gs_export-ZALDT.
    Populate cells
          call method of go_excel 'Cells' = Go_CELL
            EXPORTING
              #1 = lv_line
              #2 = 1.
    **************SET UP PROPERTY WIDTH ****************************
          SET PROPERTY OF GO_CELL 'ColumnWidth' = '11'.
          SET PROPERTY OF GO_CELL 'Value' = gs_export-BANKL.
    ***********SET PROPERTY CELL NUMBER**************************************
          call method of go_excel 'Cells' = Go_CELL
            EXPORTING
              #1 = lv_line
              #2 = 4.
          SET PROPERTY OF go_cell 'NumberFormat' = '@'.     "PROPERTY NUMBER
          SET PROPERTY OF GO_CELL 'ColumnWidth' = '10'.
          SET PROPERTY OF GO_CELL 'Value' = gs_export-ZALDT.
    endloop.
    **CLOSE EXCEL**********
        CALL METHOD OF go_workbook 'SaveAs'
          EXPORTING #1 = gv_file
          #2 = 1.
        "file format
        CALL METHOD OF go_workbook 'close'.                                    "file format
        call method of go_excel 'QUIT'.
    ****OPEN CREATED EXCEL FILE ****************************
        call method of go_excel 'Workbooks' = go_workbooks.
        call method of go_workbooks 'Open'
          EXPORTING
            #1 = gv_file.
        set property of go_excel 'Visible' = 1.

  • How to display data in table with specified format?

    Hi,
    Jdev 11.1.1.4, ADF BC and ADF Faces
    In my application I have created a EO based view object which will return data as below.
    Deptid       Loc          seq
       1            Loc1         1
       1            Loc2         2
       2            Loc1         3
       2            Loc2         4
       3            Loc1         5
       3            Loc2         6Now I have to display the data in table like below
                     Loc1
       1                              1st row
                     Loc2                  Loc1
       2                              2nd row
                     Loc2                  Loc1
       3                             3rdrow
                     Loc2 How can I do that? Any help will be appreciated.
    ~Abhijit
    Edited by: Abhijit Dutta on Nov 5, 2011 6:18 PM

    check this thread...
    display the data in chart format

  • Working with time format in Numbers

    I am trying to subtract sunset time from sunrise time to determine length of daylight. When I imported data from an excel spreadsheet, the column I had the difference did not transfer correctly. I have tried unsuccessfully to subtract a sunset time, say for example 18:03 from a sunrise time, 6:18. Is there anyway to do that in Numbers?

    As you are asking in the iWork '08 forum, I respond for Numbers '08.
    (a) all these kinds of things are explained in "What you wanted to know about time values"
    http://discussions.apple.com/thread.jspa?messageID=7958365
    (b) assuming that
    B2 contains 18:03
    C2 contains 06:18
    in D2 type the simple formula: =TIME(0,0,(B-C)24*6060)
    with Numbers '09 it would be even more simple: =B-C
    Yvan KOENIG (from FRANCE mercredi 11 février 2009 20:29:16)

Maybe you are looking for

  • Help with duplicate results

    Hi, I need help desperately. The following is an example of the data that I have. I have two tables one name Customers and the other named Orders. The tables have the following attributes CUSTOMER CustomerNum, CustomerName, OrderNum ORDER OrderNum, O

  • Web Cockpit developent (SEM-CPM or VC or something else)

    This question is intended for SAP Development team or Product management team. We are looking to make a strategic decision about the tool set to build BI Cockpit on the Web. SAP has competing technologies, which can deliver the cockpit on the web and

  • Cdrecord problem after upgrade

    Everything work fine before last upgrade, but now I have this error: [root@dragonheart leviathan]# cdrecord --scanbus WARNING ! Cannot gain SYS_RAWIO capability ! : Operation not permitted Cdrecord-Clone 2.01.01a06 (i686-pc-linux-gnu) Copyright (C) 1

  • Organisational units not in transaction BP

    Hello Guru's, We are on SRM 5.0 en we use HR Replication. Backend system is SAP ECC 6.0. So we are replicating the organisational units from the R3 system to SRM where it should create the org unit and the business partner in the organisational role.

  • Problems syncing to an external disk

    I am trying to back up my iPhone 6Plus to an external disc.  My iPhone 5S was backing up fine, but then when I got the new iPhone 6 Plus along with the latest iTunes software it would no longer back up.  I get a message stating that there isn't enoug