date.yearDay() function

Warning! This page documents an earlier version of Flux, which is no longer actively developed. Flux v0.65 is the most recent stable version of Flux.

The date.yearDay() function returns the day of the year for a specified time. Results include leap days and range from [1-366].

Function type: Transformation

import "date"

date.yearDay(t: 2019-07-17T12:05:21.012Z)

// Returns 198

Parameters

t

The time to operate on.

Data type: Time