Hi All,
I want to calculate the time difference between two time object by using time difference method it return many hours between two, plz povide solution me.
thanx & regards
zubair a khan
Hi All,
I want to calculate the time difference between two time object by using time difference method it return many hours between two, plz povide solution me.
thanx & regards
zubair a khan
Subject: Calculate Time difference
This code gets the time in weeks between a start time and the current time. The TimeDifference method gives the difference in seconds.
Set dtEnd= New notesdatetime(“Today”)
Set dtStart = cpdoc.getfirstitem("Start").DateTimeValue
difference% = dtEnd.TimeDifference(dtStart)/604800
difference% = Round(difference%,0)
CPDoc.IdeaWeeks = difference%
Subject: RE: Calculate Time difference
Hi dyson ,
Thanx for quick response,
thanks & regards
zubair A khan