It’s very easy to define a field in a custom object in Oracle Visual Builder Cloud Service to store a date, but when it comes to doing calculations and queries based on this date you’ll find that you need to resort to a little bit of JavaScript calculations.
Here are a couple of useful things to know if you are trying to do that.
Calculating Age (or time passed from a date in years)
Let’s assume you are storing information about employees and one of the pieces of information you have is their date of birth – the Birthday field in the image below.
How do you show their actual age in years on a page?
You can define a calculated field in your business object – and have VBCS use the "calculate value with formula" as the source for this field. Read the complete article here.
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.
Blog
Twitter
LinkedIn
Forum
Wiki
Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic Community,Oracle,OPN,Jürgen Kress