Thanks for your reply.
Yes, i want to display this date format in a calculated field. I copied your suggestion into my cal field and modified the snippet of code.
Result: nothing, i got a white field.
my equation:
(function(){
var d = new Date( CDATE(fieldname1+280+fieldname7));
return d.toDateSting();
})()
Fieldname1 is a date and fieldname2 is a value (from -7 til +12)