Siebel eConsumer Goods Handheld Guide for Windows-Powered Devices > Print Tagging Language > Overview >

GetDate


Description

Gets the current date, offsets the date by the number of days specified in Dayoffset, and stores the result in a variable.

Usage

Use GetDate to print a specific date in your report.

Syntax

<TAG:GetDate Dayoffset="NUMBER OF DAYS" Variable="VARIABLE NAME" Logformat="DATE FORMAT">

Parameter
Description
TAG:GetDate
(Required) Required tag indicator.
NUMBER OF DAYS
(Optional) Number of days by which the current date is offset. For example, -100 subtracts 100 days from the current date; 100 adds 100 days to the current date. The default is 0.
VARIABLE NAME
(Required) Name of variable where the value is stored.
DATE FORMAT
(Optional) TRUE prints the date in long date format (for example, Monday, February 11, 2002). FALSE prints the short date format (for example, 2/21/02). The default is FALSE.

Example

<TAG:GetDate Longformat="TRUE" Variable="LongDate">


 Siebel eConsumer Goods Handheld Guide for Windows-Powered Devices 
 Published: 18 July 2003