PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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 corresponding to the specified date (this date is an integer).
Example
IntegerToDay(DateToInteger("20011225")) // Returns 2
IntegerToDay(73773)

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 passed since January 1st 1800 + 1 (this number is returned by DateToInteger).
Remarks
Component : wd240std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment