4D v13.4Date |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
Date
Date
The Date command evaluates dateString and returns a date. The dateString parameter format must follow either the ISO date format or the regional settings defined at the system level. ISO date format Regional settings
This mechanism can be configured using the SET DEFAULT CENTURY command. The following example uses a request box to prompt the user for a date. The string entered by the user is converted to a date and stored in the reqDate variable: vdRequestedDate:=Date(Request("Please enter the date:";String(Current date))) The following example returns the string "12/25/94" as a date: vdDate:=Date("12/25/94") Date evaluation based on a date in ISO format: $vtDateISO:="2013-06-05T20:00:00" |
PROPERTIES
Product: 4D
INDEX HISTORY
Created: < 4D v6 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||