function dayOfYearView codedayOfYear(date: Date): numberReturns the number of the day in the year in the local time zone. ExamplesExample 1 import { dayOfYear } from "@std/datetime"; dayOfYear(new Date("2019-03-11T03:24:00")); // output: 70 Parametersdate: DateView codeReturn TypenumberView codeNumber of the day in the year in the local time zone