Return the day of year for the given year, month, and day.
Synopsis
Declared in <bdlt_posixdateimputil.h>
static
int
ymdToDayOfYear(
int year,
int month,
int day);
Description
Return the day of the year of the date value indicated by the specified year, month, and day. The behavior is undefined unless true == isValidYearMonthDay(year, month, day).
Return Value
day of year
Parameters
Name |
Description |
year |
calendar year |
month |
month of year |
day |
day of month |
Created with MrDocs