as was very rightly mentioned by BKBK in your other (very
similar) post
in the getting started forum, createtimespan() function
returns number
of DAYS
so the integer part of the value returned (left of the
decimal point)
will be number of full days, which you could get with
#listfirst(MyTime,
".")#
the decimal part (right of the decimal point) can be
converted to hours
and minutes:
#listfirst(24*listlast(MyTime, "."), ".")# will give you
hours, while
#60*listlast(24*listlast(MyTime, "."), ".")# will give you
minutes
the integer part of the above value is number of hours, while
60*decimal
part of the above value is minutes
using conditional logic (cfif/cfelse) and formatting (i.e.
numberforat()
function) with the above you can display the result in the
format you want
keep in mind, though, that on a server with a different
locale set as
default, the decimal separator may not be a . [dot]
---
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com