There may be easier ways... but I have manipulated datetimes in the past by 
converting them to strings, carryout some string manipulation, and then back to 
datetimes...

--- In [email protected], "tiedemj" <h...@...> wrote:
>
> 
> bump - anyone?
> --- In [email protected], "tiedemj" <home@> wrote:
> >
> > The new dateTimeDiff() function is great - saves a lot of date/time 
> > arithmetic. But is there a simple way to add a timespan (say number of 
> > seconds) to a dateTime value. For instance, I want to use the GTD (Good To 
> > Date) TimeInForce value in IBController. So what I need is something like:
> > 
> > TimeInForceDateTime = Now(5) + 10*60; // = now+10 minutes....
> > 
> > Best regards
> > Jens
> >
>


Reply via email to