year

Contents

year#

year(input)[source]#

Extracts the year component from a datetime expression.