Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do I get the month or year from a date picker.

Bill WApr 10 2021

I am just getting started in APEX. I have a table with DATE, MONTH, and YEAR columns. My user will select the DATE using a date picker component. When the date is chosen I would like to populate the MONTH and YEAR components automatically.
What would that code look like and where exactly do I place it so it updates MONTH and year every time it changes before the form is submitted.
Any help would be appreciated.

This post has been answered by Bill W on Apr 12 2021
Jump to Answer
Comments
Post Details
Added on Apr 10 2021
10 comments
2,907 views