[Server_Time] returns the current time in a format suitable for display or logging.
Accepts an optional parameter which determines the output format for the time.
-Short 12:34 PM
-Long 12:34:56 PM (default)
Note: -Extended can also be used as an alias for -Long.
Note: The [Date_GetCurrentDate] 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 times in any required format for display, database storage, or logging.
[Server_Time]
[Server_Time: -Short]
[Server_Time: -Long]
Use the [Server_Time] tag. The following example displays the current time to a site visitor.
<p>The current time is [Server_Time: -Long].
<p>The current time is 13:28:34 PM.
Tag Link | [Server_Time] | Category | Date |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 2.5 |
Output Type | String | Security | None |
Implementation | LCAPI | Sets | Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x,LDML25 |
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