Skip to main content

yTod (Function)

This converts the given input in years into days.

Syntax

<DOUBLE> unitconversion:yTod(<INT|LONG|FLOAT|DOUBLE> p1)

Query Parameters

NameDescriptionDefault ValuePossible Data TypesOptionalDynamic
p1The value that needs to be converted from years into days.INT LONG FLOAT DOUBLENoYes

Example 1

unitconversion:yTod(1)

The year value 1 is converted into days as 365.2525.