|
|
|
|
|
|
|
|
|
|
- Overview
- Different methods for managing dates and times
- Date management and validity
- Manipulating dates and times in Edit controls
WINDEV, WEBDEV and WINDEV Mobile propose several methods for managing dates and times in your applications: Different methods for managing dates and times Depending on the type of operation performed on the dates and times, it may be more efficient to use WLanguage variables or functions. The WLanguage functions are recommended: - To format dates and times and perform conversion operations (convert a date to an integer, etc.).
- To get information about dates and times (date or time validity, get name of a week day, etc.).
The use of variables is recommended: - To perform calculations on dates and times (differences, calculation of duration, etc.).
- To extract part of the date or time (day, month, year, etc.).
Date management and validity The date storage format allows you to store dates from 01/01/0001 to 12/31/9999. Manipulating dates and times in Edit controls The values in the Edit controls can be managed with Date or Time variables. To do so, assign the control content to the variable. StartDate is Date
StartDate = EDT_DateControl
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|