Tag Archives: Time

How to format the DATE and display in the AMX page uisng ADF Mobile.

The Date to be displayed in the format MM-DD-YYYY in the AMX page. To achieve this we need to use the <amx:convertDateTime> with in the OutputText as shown below – <amx:panelLabelAndMessage label=”#{viewcontrollerBundle.LAST_UPDATE_DATE}” id=”plam5″    inlineStyle=”font-weight:bold;”> <amx:outputText value=”#{bindings.lastUpdateDate.inputValue}” id=”ot6″> <amx:convertDateTime pattern=“MM-dd-yyyy“/> </amx:outputText> … Continue reading

Posted in ADF Mobile | Tagged , , , | Leave a comment

How to get the current system Date and Time in Java?

In order to get the current system Date and Time include the below code in you java class – import oracle.jbo.domain.Date;   /**       * Get Current Date       * @return       */ public Date getCurrentDateTime()     {     return … Continue reading

Posted in Java | Tagged , , , , | 4 Comments

How to display the Date and Time format in ADF page

In this post you will know how to display the DATE and TIME on the JSPX page. If you want to display the DATE format in “DD-MON-YYYY ” and Time in “Hour:Min:Sec AM/PM” do as below – 12 hour format … Continue reading

Posted in ADF (Application Development Framework) | Tagged , , , , , , | 4 Comments

How to get the Current Date and Time in the Managed Bean?

In order to get the Current date and time in the managed bean, include the below method –   /**     * Get Current Date     * @return     */     public Date getCurrentDateTime()   {   return new Date(new … Continue reading

Posted in ADF (Application Development Framework) | Tagged , , , | Leave a comment