Siebel Pharma Handheld Guide > Print Tagging Language > Get and Set Tags >

GetDate Tag


The GetDate tag obtains the current date, offsets the date by the number of days specified in the dayoffset parameter, and stores the result in a variable.

Usage

Use the GetDate tag to print a specific date in your report.

Syntax

<TAG:GetDate dayoffset="NUMBER OF DAYS" variable="VARIABLE NAME" longformat="DATE FORMAT">

Parameter
Description

TAG:GetDate

(Required) Required tag indicator.

dayoffset

(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

(Required) Name of the variable where the value is stored.

longformat

(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 Pharma Handheld Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.