|
|
|
|
Today (Function) In french: DateDuJour Returns or modifies the system date (date of the day defined on the current computer). Remarks: - This function is equivalent to DateSys.
- The system date corresponds to the date of the day defined on the server.
Res = Today() Â // Res = "20011225" Res = DateToString(Today()) // Res = "25/12/2001" Year = Left(Today(), 4) // Year returns the current year (2001 for example)
Syntax <Result>: Character string or Date variable System date in YYYYMMDD format (YYYY corresponds to the year, MM to the month and DD to the day).
Related Examples:
|
Unit examples (WINDEV): Popup calendar
[ + ] Using a calendar that can be used by the OpenPopup function. The PopCalendar window is very useful in the applications containing date controls. Indeed, the PopCalendar window allows you to choose a date visually. The risk of error is reduced as the user can see the day of the week corresponding to the selected date. Then, the date control is filled with the value returned by the PopCalendar window.
|
|
Unit examples (WINDEV): The Calendar control
[ + ] Four methods for using the Calendar control: - Using the Calendar control found in the WINDEV toolbar - Using CalendarOpen and CalendarPicker as well as CalendarSelect (multi-selection) - Using ..CalendarButton - Using BankHolidayAdd
|
Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|