PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Special cases
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the day of the week that corresponds to the specified date (this date is an integer).
Versions 16 and later
Universal Windows 10 App This function is now available for Windows Phone applications.
New in version 16
Universal Windows 10 App This function is now available for Windows Phone applications.
Universal Windows 10 App This function is now available for Windows Phone applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
IntegerToDay(DateToInteger("20011225")) // Returns 2
IntegerToDay(73773) // Returns 2
 
IF IntegerToDay(DateToInteger(DateSys())) > 5 THEN
Info("It's the weekend")
END
Syntax
<Result> = IntegerToDay(<Date>)
<Result>: Integer
Number corresponding to the day of the week for the specified date:
1 - Monday
2 - Tuesday
3 - Wednesday
4 - Thursday
5 - Friday
6 - Saturday
7 - Sunday
<Date>: Integer
Number of days elapsed since January 1st 1800 + 1 (this number is returned by DateToInteger).
Remarks
Universal Windows 10 AppJava

Special cases

This function cannot be used to retrieve days of weeks before October 14, 1582 (the change from the Julian to the Gregorian calendar will not be taken into account).
Business / UI classification : Neutral code
Component : wd260std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment