dayofYear
Last updated
Last updated
dayofYear() function is the Standard function available in 200OK.
Description : The dayOfYear function returns the number of the day in the year based on the date passed.
Syntax : fx_dayofYear(date)
Example : fx_dayOfYear(2023-03-25) returns 84 as the response, indicating that it's the 84th day of the year.
Here we go with simple scenario using the above function.
Scenario : In an agricultural monitoring system, farmers track the growth stages of crops and plan irrigation schedules based on the time of year. They utilize a function to determine the day of the year from weather data. For example, using the function with the date '2023-03-25' returns '84', indicating that it's the 84th day of the year, helping farmers make informed decisions about crop management.
Request Side :
Response Side :