ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV, WEBDEV and WINDEV Mobile 2025 feature!
Help / WLanguage / WLanguage functions / Standard functions / Date and time functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Takes the number of a day in the year and returns the corresponding date in "YYYYMMDD" format.
AndroidAndroid Widget Java Note: This function is available for Android, Android Widget and Java applications only from version 2025 Update 1.
Example
dDate is Date
nDay is int = 50
dDate = DayOfYearToDate(nDay)
Syntax
<Result> = DayOfYearToDate(<Day> [, <Year>])
<Result>: Character string
Date in "YYYYMMDD" format.
<Day>: Integer
Number of the day of the year (between 1 and 366).
<Year>: Optional integer
Year that will be used for the calculation.
If this parameter is not specified, the current year is used.
Component: wd300std.dll
Minimum version required
  • Version 2025
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/06/2025

Send a report | Local help