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!

Javascript Timestamp Calulation

Hi,

How to Add 30 min to folling code.

I am using javascript for copy doc_dt to item delevery_dt . i won't to add 30 min in delevery_dt. doc_dt and
delivery_dt are timestamp database column.

For Ex. in doc_dt item text showing me 16/02/2012 18:30
then to add 30 minite delivery_dt is 16/02/2012 19:00




function deldt()
{
function getVal(item){
if($x(item).value != "")
return parseFloat($x(item).value);
else
return 0;
}

$x('P40_DELIVERY_DT').value =
($x('P40_DOC_DT').value ) ;


}

What changes i have to do in above code to get result.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 15 2012
Added on Feb 16 2012
0 comments
285 views