Default the Date Picker to Today

Hi,
I have a date item called Due Date that has a defualt set to
PL/SQL Function Body
return to_char(to_date('31-Dec-2050'), 'dd-Mon-yyyy');
But my user would like the date picker to show today when they open it to change it. Is this possible? Is there no 'Today' button option?
Thanks,
Samantha

Hello Samantha,
>> I need my date to default to 31 Dec 2050
First, and out of sheer curiosity, what is the nature of your application, that you have a due date on 2050?
>> BUT when the user finally does edit and want to change the date they want the data picker to show today's date and not 31-Dec-2050
I don’t think this behavior is possible with the current date picker. The date picker points to the item current date, as it should be, and don’t include a “today” button. What you can do is to add such a button yourself, using the “post element text” field of the date picker item. This button, using a JavaScript code, can set the value of the date picker item to “today” – using a hidden item containing “today” date. If the user still need to look for a closer date, he can open the date picker, and now it should open on the “today” date.
Another option is to use an external date picker, like the one in here - http://www.dynarch.com/projects/calendar/ . This one include a “today” button.
Regards,
Arie.

Similar Messages

  • In the Date Picker, How can I default to select * dates if the user does ..

    In the Date Picker, How can I default to select * dates if the user does not select a date.
    Thanks,
    Doug

    Doug,
    Now lets say l want everythingCould you post some sample data and the output that you want to get..? It would be much easy to understand the requirements...
    When you mean everything, I am assuming you need all possible dates possible between date1 and date2.
    you can use... (from asktom.oracle.com).
      1  select to_date('12-jan-2009','DD-MON-YYYY') + rownum -1
      2    from ALL_OBJECTS
      3    where rownum <= (to_date('20-jan-2009','dd-mon-yyyy') -
      4*                     to_date('12-jan-2009','DD-MON-YYYY') +1 )
    sql> /
    TO_DATE('
    12-JAN-09
    13-JAN-09
    14-JAN-09
    15-JAN-09
    16-JAN-09
    17-JAN-09
    18-JAN-09
    19-JAN-09
    20-JAN-09
    9 rows selected.
    For your case, since you have date1 and date2...
    select to_date(:p12_date1,'DD-MON-YYYY') + rownum -1
      from ALL_OBJECTS
      where rownum <= (to_date(:p12_date2,'dd-mon-yyyy') -
                        to_date(:p12_date1,'DD-MON-YYYY') +1 )Should work.. in my opinion...Haven't tested the second one in Apex .
    Is this what you were looking for ..?? If not, please elaborate...
    Thanks,
    Rajesh.

  • "Date picker" in report - - View source shows no label for the date picker

    Hi
    In one of my reports, I am using multiple types (textarea/text/date picker/select list)
    I wanted to use a javascript based on the label, but I do not see "<label>" for Date picker in the view source due to which my Javascript fails.
    Snippet of view Source:
    <td class="t3data" ><label for="f08_0001" class="hideMe508">CATEGORY</label><textarea name="f08" rows="4" cols="16" wrap="VIRTUAL" id="f08_0001">EMPLOYEE INDUCTION</textarea></td>
    <td class="t3data" ><span class="lov"><input type="text" name="f11" size="15" maxlength="2000" value="29-FEB-08" style="padding-right:5px;" id="f11_0001" /><script type="text/javascript">
    As you can see above, we have a "label for" for the text area but not for the date picker
    Is there a reason for the same?
    Thanks
    Nitin

    Hi,
    OK - the headers attribute should also help as these will identify the correct cells. You would need to know the html tags used within each cell for each datatype.
    Would using cloneNode help you? It's a method of creating a copy of an entire row in a single instruction
    Andy

  • How do you add a format to the "Date Picker Format Mask" available formats?

    Hi,
    When I select the Date Picker Format Mask or "Number / Date Format" they doen't have YYYYMMDD or others that may be desired...
    How do you add a format to the available formats?
    Thank you, Bill

    Bill - From the popup help text:
    If you need to create a Date Picker item, but the format you need does not appear in the Display As list, select Date Picker (use application format mask). When an application uses this type of date picker, the Application Express engine derives the date format from an item named PICK_DATE_FORMAT_MASK. You can populate this item in two ways:
    - By defining an application substitution string named PICK_DATE_FORMAT_MASK
    - By creating an application-level item named PICK_DATE_FORMAT_MASK
    See the doc for more details.
    Scott

  • Is it possible to use the date picker in regular PLSQL?

    I would like to use the the date picker but my application is not suited to ApEx.
    Thanks!

    Hi,
    >>>configuration instead of coding etc
    currenly it is not possible to achive it without any coding
    >>>repeat messages with RSNAST00
    RSNAST00 is not used to repeat messages (idocs) but to send them
    try using standard IDOC in your sd invoice scenario
    if you don't want to do any coding
    Regards,
    michal

  • How to disable the date picker in manualy Tabular form?

    I develope an application with apex 3.2 , I builded a tabular form manualy with APEX API and I have an item 'date picker' , I want that once user want insert the date , he can do it only by clicking on the date picker and not into the item
    I try to use the code that was provided by 'Desnes Kubicek' on his blog , but it does not works
    Any help!!!!!
    I used this code , but that is for an one item form
    <script type="text/javascript">
    function disFormItems(item1){
    disItem = document.getElementById(item1);
    disItem.style.background = '#eeeeee';
    disItem.disabled = true;
    </script>
    2. Region Footer javascript:
    <script type="text/javascript">
    disFormItems('P18_DATE_PICKER');
    </script>

    Hi,
    Try something like this
    SELECT
    APEX_ITEM.DATE_POPUP(4,rownum,hiredate,'dd-mon-yyyy',12,15,'readonly="readonly"','f04_' || ROWNUM) hd
    FROM EMP;Thanks,
    Manish

  • I scanned an old photo but the date displayed is today, I want the date to be the date the photo was taken.  How do I change the date of the photo in iPhoto 11?

    I scanned an old photo but the date displayed is today, I want the date to be the date the photo was taken.  How do I change the date of the photo in iPhoto 11?

    There are two kinds of metadata involved when you consider jpeg or other image file.
    One is the file data. This is what the Finder shows. This tells you nothing about the contents of the file, just the File itself.
    The problem with File metadata is that it can easily change as the file is moved from place to place or exported, e-mailed, uploaded etc.
    Photographs have also got both Exif and IPTC metadata. The date and time that your camera snapped the Photograph is recorded in the Exif metadata. Regardless if what the file date says, this is the actual time recorded by the camera.
    Photo applications like iPhoto, Aperture, Lightroom, Picasa, Photoshop etc get their date and time from the Exif metadata.
    When you export from iPhoto to the Finder new file is created containing your Photo (and its Exif). The File date is - quite accurately - reported as the date of Export.
    However, the Photo Date doesn't change.
    The problem is that the Finder doesn't work with Exif.
    So, your photo has the correct date, and so does the file, but they are different things. To sort on the Photo date you'll need to use a photo app.

  • How to use the date picker in Web dynpro java

    Hi,
    I want to add date picker to enter a date while developing webdynpro application.
    How can i do that.
    Regards,
    H.V.Swathi

    Hi,
    its very simple...
    take a input field and map it to the attribute which data type is of "date". thats it at runtime you will see a input filed with date picker.
    i.e. Add an inputField and bind the context attribute of Type Date to it
    this will show the date picker on screen.
    PradeeP

  • How to set the date picker to display only months?

    I am trying to set the date picker in SSRS 2012 to allow the user just to select the months:  and when I run my store procedure I get a can't convert data type from nvarchar to datetime.  If I don't comment out of the Where Clause, nothing
    is returned if I leave the Where Clause in.
    Alter
    PROCEDURE RollingReportList
    AS
    BEGIN
    SET NOCOUNT
    ON;
    SELECT
    distinct
       [ItemDescription]
    ,[QuantityOrdered]
      ,QuanitityCost
    = [QuantityOrdered]
    * [Price]
    ,Convert(datetime,(CONVERT(CHAR(4),PE.[LastUpdated],107) 
    + '-'
    + (right(CONVERT(CHAR(4),PE.[LastUpdated],112),2)))) 
    as CurrentMonth 
    ,Convert(datetime,(CONVERT(CHAR(3),Datename(MONTH,DATEADD(MONTH,1,PE.LastUpdated)),107) 
    + '-'
    + (right(CONVERT(CHAR(4),PE.[LastUpdated],112),2))))
    as NextMonth
      ,Name
    FROM
    [HQStore].[dbo].[PurchaseOrderEntry]
    as PE
    inner join
    [HQStore].[dbo].[PurchaseOrder]
    as PO
    on  PE.[PurchaseOrderID]
    = PO.[ID]
    inner join
    [HQStore].[dbo].[Store]
    as ST
    on PE.[storeid]=ST.ID
    Where 
    (@Start
    = '01/01/2009'
    and  @Last
    =  '12/31/2010')
    End
    Go
     Exec
    RollingReportList
    Any Help?

    Try the below....
    Where  (@Start = '20090101' and  @Last =  '20101231')
    SELECT FORMAT(getdate(), 'MM')
    02
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Why is the date picker icon is not showing on the PDF file?

    Hi,
    I added a date field on a form.
    I can see the date picker icon when viewing the form online but when I download and open the PDF to my computer and open it on Adobe Reader that icon doesn't show up.
    It's important since my users then need to manually enter the date instead of choosing it on the graphic interface (some of my users are older so need all the help they can get)
    Is there an option or something I missing to make the date picker icon show up on the actual PDF file as well?
    Thanks

    >>Duplicate post removed to comply with the Verizon Wireless Terms of Service.  See Re: Samsung Galaxy S5 pre-order?<<
    Edited by:  Verizon Moderator

  • FM to default the date to SUNDAY

    Hi,
    I need to default the date to SUNDAY on the selection screen. Is there any FM to do the same.

    Hi.
    I really don't know a FM to make sunday as default to a selection screen parameter. However, I would make a workaround to achieve that goal. You have your parameter p_date, right? So, in INITIALIZATION event do the following:
    PARAMETERS: p_date TYPE dats.
    DATA: return TYPE p.
    INITIALIZATION.
    p_date = sy-datum.
    DO.
      CLEAR return.
      CALL FUNCTION 'DAY_IN_WEEK'
        EXPORTING
          datum = p_date
        IMPORTING
          wotnr = return.
      IF return EQ '7'. "sunday
        EXIT.
      ELSE.
        ADD 1 TO p_date.
      ENDIF.
    ENDDO.
    Regards.
    Valter Oliveira.

  • Error on Page - when clicking the date picker

    Hi Gurus and Experts,
    I'm scheduling a report, when i click the date picker in the Report Parameter section, I got an Error on page (the date picker did not pop-out). What is the problem with this? My date parameter is working when not use for scheduling.
    Regards,
    JP
    Edited by: user10955574 on Nov 18, 2010 12:48 AM

    Hi
    I also encounter that error. The error says 'document.forms[...]' is null or not an object. It only occurs in the report parameters sections when scheduling a report. It works fine on viewing the reports and other that has date picker except from scheduling page.
    Please help.
    Thanks.

  • How can we restrict the date range in the date picker

    While selecting any date a pop up date picker appears. In this date picker the users can select any future dates which can be 30-40 yrs ahead. How can customize this date picker so that the users are not allowed to slected date beyond certain range. ...??

    Hi user570596,
    I think there is no method to actually restrict the date picker popup, but you can use the ApexLib Framework (http://apexlib.sourceforge.net/) to define a min/max value for your date field. This will prevent the user from submitting the page when the date value is outside the defined range.
    See http://inside-apex.blogspot.com/2007/03/min-max-value-validation-in-browser.html
    for details.
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com
    Check out the ApexLib Framework: http://apexlib.sourceforge.net

  • How to adjust the Date picker size

    how to change the size of the Date Picker.
    I am using time inside the data picker and window is too small.
    I cannot see the OK and Cancel buttons.
    Let me know
    thanks

    It is an known APEX 3.1 issue metioned in the "Oracle Application Express 3.1 Known Issues & Limitations" Page([http://www.oracle.com/technology/products/database/application_express/html/3.1_known_issues.html]).
    There is a workaround posted in forum, see Re: Date popup problem in APEX 3.1 and this post was also mentioned in the "Oracle Application Express 3.1 Known Issues & Limitations" Page.
    JT

  • How can I customize the date-picker inline popup

    Hi All,
    I have a customer who want to customize the <af:inputDate>. He want a additional button appear under the calendar box in the date-picker popup.
    Document http://docs.oracle.com/cd/E23549_01/apirefs.1111/e12419/tagdoc/af_inputDate.html mentions org.apache.myfaces.trinidad.convert.ClientConverter interface, is it a right way to do that ? If yes where can I get a sample ?
    Regards and Thanks.
    Jerry

    Hi,
    add the af:convertDateTime tag to see the exploded dialog. Note that this doesn't allow you to add custom buttons to the dialog. Its just extends the functionality
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e12419/tagdoc/af_convertDateTime.html
    <af:inputDate label="Label 1" id="id1">
    <af:convertDateTime type="both"/>
    </af:inputDate>
    Frank

Maybe you are looking for

  • Real Instruments Not playing - effects are

    In one of my songs, the real instruments do not play. However, I can hear the reverb and echo for these tracks. The tracks still respond to editing. The drum loop and Software Piano play just fine.

  • Query on SAP Bank Analyzer

    Hi, We are presently working on the SAP Banking suite , mainly on SAP Loans Management and SAP Collateral Management. We would now like to look into SAP Bank Analyzer. Can SAP Bank Analyzer be accessed in SAP ECC 6.0 ? If not, request you to clarify

  • Help with the Update

    Any help out there on how to do the upgrade? Went thorugh tutorial, but cannot get to the prompt for the download. Message was edited by: firstpink

  • Easy DMS  - problem with  object linking (unicode client)

    Hi Gurus, I have a problem concerning linking a materialmaster to a DIR in a uniciode environment. I tested following scenarios: 1) Easy DMS 6.00 SP10 non unicode  +  non unicode Backend  -->  no problem 2) Easy DMS 6.00 SP10 non unicode  +  unicode

  • Motion background stopped working

    Hi, I've created a DVD and have selected a menu from the library with a motion background ("Film" Menu from the Entertainment category). When I first made this it was fine. I then needed to add some logos etc in Photoshop and the motion background no