LassoScript Utility
Basics Browse Detail

[Server_Day]

Tag Link [Server_Day] Category Date
Type Substitution Source Available No
Support Preferred Version 2.5
Change Unchanged Data Source Any
Output Type String Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x, Lasso 2.5

Description

[Server_Day] returns the current day name in English.

Accepts an optional parameter which determines the output format for the date.
-Short Wed
-Long Wednesday (default)

Syntax

[Server_Day]

[Server_Day-Short]

[Server_Day-Long]

Parameters

Optional Parameters
-Short Returns the day name as an English abbreviation.
-Long Returns the day name as a full English name. The default.

Examples

To display the current day of the week to a site visitor:

Use the [Server_Day] tag. The following example tells the site visitor what day it is.

<p>Today is [Server_Day-Long].

<p>Today is Thursday.