ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV, WEBDEV and WINDEV Mobile 2024 feature!
Help / WLanguage / WLanguage functions / Standard functions / Date and time functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the number of the current day in the current month.
Example
nDay is int

// If the current date is: "04/03/2023"
nDay = CurrentDay() // nDay is 3

// If the current date is: "07/27/2048"
nDay = CurrentDay() // nDay is 27
Syntax
<Result> = CurrentDay()
<Result>: Integer
Current day of the current month.
Remarks
The following codes are equivalent:
dDate is Date = Today()
and
nDay is int
nDay = dDate.Day
Business / UI classification: Neutral code
Component: wd290std.dll
Minimum version required
  • Version 2024
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/08/2024

Send a report | Local help