PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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 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