Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 

 

SETDATE

Sets or clears the Content Server date/time property.

Syntax

Parameters

DATE (required)
Date to set the date property to. Use the format: yyyy-mm-dd hh:mm:ss. To restore the date/time property to use the current system date/time, set DATE to blank using an escaped value:

Description

The SETDATE tag sets or clears the Content Server date/time property. Date built-ins can then be used to display various date components. Clearing the date property restores the property to use the current system date/time.

errno

The possible values of errno include:

Value
Description
-106
Bad date syntax.

Example

This example sets the date to Feb 1 2001, displays the hour according to the date set, then restores the date property to use the current system date/time.

See Also

CS.Date

  Home > Contents > Index >

FatWire XML Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.