Use a hidden form element that has a value of 5 days added.
In ASP VBScriptit would look like this:
<input name="StrDateDisplayAD" type="hidden"
id="StrDateDisplayAD"
value="<%= FormatDateTime(DateAdd("d", 5, Now()),2)
%>">
--
Ken Ford
Adobe Community Expert
"Techy" <anwar@clickbahrain.com> wrote in message
news:e883h2$it2$1@forums.macromedia.com...
> Dear Sir,
>
> I have to make a classified system using asp and its
almost ready
> but.....,
> i really have a big hope that someone helps me here
>
> I have two columns to play with
>
> 1. strDate
> 2. StrDateDisplayAD
>
> Once the user submits his AD I want the date to be
inserted into the date
> column strDate which is working perfectly well
>
> but at the same time I want the date to be added + 5
days and insert into
> the strDateDisplayAd column
>
> for Example,
>
> Lets say someone post his ad on 5th July, then the
values in the column
> must
> be
>
> strDate | StrDateDisplayAD
>
> 5/6/06 | 10/5/06
>
>
> Thanks in advance
>
>
>