Date Functions
/pages/Ref/Client_Api/Core Libraries/Date Functions/index.xml
Alpha Anywhere extends the JavaScript Date object with several methods.
- (Date Subtraction)
/pages/Ref/Xbasic/Operators/Date Operators/- (Date Subtraction).xml
Date subtraction produces a date value or number by subtracting an integral or fractional number of Days from Operand1.
Date Class
/pages/Ref/Client_Api/Javascript Extensions/Date/index.xml
Methods to extend the native date variable.
Prompt for a Date
/pages/Guides/Desktop/Design/Prompt/Prompt for a Date.xml
The Prompt for a Date action will prompt the user for a date and store it in a character variable. Use the CTOD() function to convert the result into a date value.
Predefined Date Formats
/pages/Ref/Api/Functions/Data Type/Date and Time Functions/Predefined Date Formats.xml
The following formats can be used with the DTOC() function.
:date('formattingDefinition')
/pages/Ref/Client_Api/Client-side Templates/date.xml
Formats date values
Defaulting a Date Field to Today's Date
/pages/Guides/Desktop/Design/Data/FieldRules/Defaulting a Date Field to Today's Date.xml
Frequently, you will want to assign today's date as a default value to a field. There are two ways to do this using field rules.
Adding Pre-defined Date Ranges
/pages/Guides/Mobile and Web Components/Grid/The Search Part/Predefined date ranges.xml

Pre-defined date ranges can be added to a date control in the Search Part of the Grid Component.

Search Fields and Detail View, Fields Menus
/pages/Guides/Mobile and Web Components/Grid/Introducing the Grid Builder/Search Fields and Detail View, Fields Menus.xml
The Search > Fieldsand Detail View > Fields menus are similar to the Grid > Fields menus in function. The page for manipulating fields in Search and Detail are almost identical in their properties list and selection of tools.
Show and Hide Fields
/pages/Guides/Mobile and Web Components/Grid/Grid Fields/Grid Field Properties/Client Side Properties/Show and Hide Fields.xml
Show/hide Fields can be used with any field or Container.