Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TodayISO Element

Windows SharePoint Services 3

Renders the current date and time in International Organization for Standardization (ISO) format: YYYY-MM-DDTHH:MM:SSZ (for example, 2001-01-21T22:54:47Z).

Attribute Description




Minimum: 0

Maximum: Unbounded

Note that the date and time returned are relative to the server’s local time zone.

The following example evaluates the default value for a DateTime field type and inserts the current date in ISO format if the value is "[today]". Otherwise, the code inserts the raw value contained in the field.

      <Property Select="Default" />
   <Case Value="[today]">
      <TodayISO />
         <Column HTMLEncode="TRUE" />
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.