PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
Used to define the default value of Date, Time and DateTime variables.
Reminder: By default, the Date, Time and DateTime variables are initialized with the system date and time when running the program.
Example
// Initialize all the Date, Time,
// and DateTime variables to January 1st 2000 at 0:00
DateTimeByDefault("20000101", "0000")
Syntax

Initializing with the system date and time

DateTimeByDefault()

Initializing with a specific time and date Hide the details

DateTimeByDefault(<Date> , <Time>)
<Date>: Character string (with quotes)
Date used to initialize the Date and DateTime variables. This date is in "YYYYMMDD" format where YYYY corresponds to the year, MM to the month and DD to the day.
<Time>: Character string (with quotes)
Time used to initialize the DateTime and Time variables. This time is in HHMMSSCC format (HH corresponds to the hours, MM to the minutes, SS to the seconds and CC to the hundredths of a second).
Remarks
Component : wd250vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment