PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
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.
Versions 26 and later
Apple Watch This function is now available for Apple Watch applications.
New in version 26
Apple Watch This function is now available for Apple Watch applications.
Apple Watch This function is now available for Apple Watch applications.
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.
Business / UI classification : Neutral code
Component : wd260std.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
video Yesterday
https://youtu.be/3Xi90GBJ_u0
https://windevdesenvolvimento.blogspot.com/2019/07/dicas-2224-windev-webdev-mobile-24.html
// BTN_VER_DATa_DIA_ANTERIOR_Yesterday
EDT_DATA_DO_OUTRO_DIA=Yesterday (EDT_DATA_DESEJA)
amarildo
31 Jul. 2019