|
A standard Date Picker control. The value of the Date Picker element defines the name of the variable for the date. The variable <name> will contain the textual representation of the date. The variable <name>.epoch (note the dot), will contain the UTC time in milliseconds, as the time at midnight prior (so easy to add time to). The default format for the variable is yyyy-MM-dd. Format (for display) can be changed by appending to Format node and specifying an alternate format (e.g. dd-MMM-yyyy), to set the format based on an existing variable use <variable name>. A Seed node can also be attached to select the date for the default value / point at which the date starts, if this is omitted, then the current date will be used. The (ISO) Standard format for writing to (virtually all) databases is yyyy-MM-dd, and all data to and from the control is assumed to be in this format, and this is the format written out. Substitution of a value from another variable format my be done by setting the value to <name> where name contains the format required. A Select Action node will also allow an action to be performed when a date has been selected (e.g. validation). Styling may be applied by the use of CSS as required.
¶ See Also |
![]() |