This topic describes the syntax and usage of the getDayOfYear function in Zoho Creator .
The getDayOfYear function return a number in the range 1-365, representing the number of the day of the year that date falls.
// this format is supported only in the free flow scripting mode of Script builder.
The getDayOfYear function syntax has the following arguments.
date - The date based on which the number of the day is returned. The date can be a date or date-time field, the "today" variable which returns the current day, or results of other date functions, for example, datevalue()
a.If Transaction date is Aug 21, 2013, the getDayOfYear() function returns 233.