[Server_Date] returns the current date in a format suitable for display or logging.
Accepts an optional parameter which determines the output format for the date.
-Short 12/25/01 (default)
-ShortY2K 12/25/2001
-Long Wednesday, December 25, 2001
-Abbrev Wed, Dec 25, 2001
-Extended 2001-12-25
Note: The [Date] tag should be used to generate a date/time string for use as an input to the [Date_...] tag. The [Date_Format] tag can be used to generate dates in any required format for display, database storage, or logging.
[Server_Date]
[Server_Date: -Short]
[Server_Date: -ShortY2K]
[Server_Date: -Long]
[Server_Date: -Abbrev]
[Server_Date: -Extended]
Use the [Server_Date] tag. The following example informs the site visitor what date it is.
<p>Today's date is [Server_Date: -ShortY2K]
<p>Today's date is 9/13/2001.
Tag Link | [Server_Date] | Category | Date |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 2.0 |
Output Type | String | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x,LDML25,LDML20 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft