year-from-duration

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Functions > Function Library Reference > lang | datetime functions >

year-from-duration

Result is the year component of the duration argument.

fn-yrfrdur

E.g.

duration="P01Y04M0DT05H07M02.227S"

year= 1


© 2019 Altova GmbH