Get year e.g. 2030 from the given time string

time:year(STRING $time="now")

time:year()
#=> "2031"

time:year('-1 year')
#=> "2030"

Copyright ©2013-2022 SunSed®. All rights reserved.