|
|
|
|
|
<Date type>.ToDayOfYear (Function) In french: <Type Date>.VersJourDansLAnnée Returns the day of the year corresponding to a given date. New in version 2025dDate is Date
nDay is int
nDay = dDate.ToDayOfYear()
Syntax
<Result> = <Date>.ToDayOfYear()
<Result>: Integer Number of the day of the year (between 1 and 366). <Date>: Control name Date to use. This date can correspond to:- a character string in YYYYMMDD format (YYYY corresponds to the year, MM to the month and DD to the day).
- a character string in YYYYMMDDHHmmSSCC format (YYYY corresponds to the year, MM to the month, DD to the day, HH to hours, mm to minutes, SS to seconds and CC to hundredths of a second (use CCC for thousandths of a second)). In this case, only the date is taken into account.
- a variable of type Date.
- a variable of type DateTime. In this case, only the date is taken into account.
If this parameter is not specified, the current date is used. Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|