Jump to content

Storing a date with extra days


Recommended Posts

Hello all,

 

Need help with a code in a HTML blok for storing a date with extra days.

Whats the promblem: I want to store a (date + 84 days) extra

 

I use in my submissionform the parameter  [@Initiele_meting], this parameter [@Initiele_meting] receives on load a [@cbTimestamp*] 

In my table the field Initiele_meting is a Date/Time field

I want to store [@Initiele_meting] + 84 days in the table as A_Keuring is a Date/Time field.

Why do I want it: see it like this. You are making today [@cbTimestamp*] a appointment, the deal is that you always take a action between the [@cbTimestamp*] and A_Keuring (this is the [@cbTimestamp*] + 84 days)

 

I now have this in the footer, but dont work:

<script>
function grandTotal(){

[@StartDate]=([@StartDate]+84)
var_a =parseFloat(document.getElementById("InsertRecordEndDate").value);

}
</script>

Thank you!!

And greetz from the Netherlands.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...