Hi,

how do i calculate the time in the following case:

i have a real control called duration and time control
called starttime. if i will give 0.30 in duration
field and 04:01:00 in starttime field, then i have to
add 30 minutes with 04.01 hrs and result should be
04:31:00. but, the result is 04:19:00.

my code is 
this.StartTime+str2time(time2str(this.Duration*3600,1,1))

the above code works only when entering integer values
/ hrs (ie 04). when i give minutes or real value, the
above code is not working. 

tell me the solution how do i calculate the exact
time?

regs,
Hema. S


                
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 



Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Axapta-Knowledge-Village/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to