Function: RenderCanyonTime

Parameters

Implementation

~~~ %STARTINCLUDE%
~~~ %DBQUERY{topic="%name%" format="$percntIFDEFINEDTHEN{\"$formfield(Zustiegszeit)\"}$percnt $percntCALC{$FORMATGMTIME($EVAL($SUM($formfield(Zustiegszeit),$formfield(Routenzeit),$formfield(Rueckwegszeit)) * 60 ), $hourh $minute')}$percnt
~~~ $percntELSIFDEFINED{\"$formfield(Routenzeit)\"}$percnt $percntCALC{$FORMATGMTIME($EVAL($SUM($formfield(Zustiegszeit),$formfield(Routenzeit),$formfield(Rueckwegszeit)) * 60 ), $hourh $minute')}$percnt
~~~ $percntELSIFDEFINED{\"$formfield(Rueckwegszeit)\"}$percnt $percntCALC{$FORMATGMTIME($EVAL($SUM($formfield(Zustiegszeit),$formfield(Routenzeit),$formfield(Rueckwegszeit)) * 60 ), $hourh $minute')}$percnt
~~~ $percntELSEDEFINED$percnt ka
~~~ $percntFIDEFINED$percnt"}%
~~~ %STOPINCLUDE%

Test

Time 05h 42'

-- PeterSykora - 25 Oct 2007

Topic revision: r1 - 2010-01-12 - PeterSykora