PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
New WINDEV, WEBDEV, WINDEV Mobile 24 feature!
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 date of the day preceding the current day or a given date.
Example
// Displays yesterday's date
Info("Yesterday was " + DateToString(Yesterday()))
Syntax
<Result> = Yesterday([<Date>])
<Result>: Character string
Date of the day preceding <Date> in YYYYMMDD format (YYYY corresponds to the year, MM to the month and DD to the day).
<Date>: Character string, optional Date or DateTime
Date to use. This parameter can correspond to:
  • a character string in YYYYMMDD format (YYYY corresponds to the year, MM to the month and DD to the day),
  • a Date or DateTime variable.
If this parameter is not specified, the date used corresponds to today's date.
Component : wd240std.dll
Minimum required version
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment