viv:time-zone-name

returns a string label for the local time zone

Synopsis

string
viv:time-zone-name
();

Description

This extension simply returns a string label for the local time zone being used by Watson™ Explorer Engine.

Example

Input Example:

            <process-xsl>
<xsl:variable name="datesec" select="viv:parse-date('06-Nov-94')" />
<datesec><xsl:value-of select="$datesec" /></datesec>
<date><xsl:value-of select="viv:seconds-to-local-date-time($datesec)" /></date>
<timezone><xsl:value-of select="viv:time-zone-name()" /></timezone>
</process-xsl>

Output Example:

            <datesec>784080000</datesec>
            <date>1994-11-05T20:00:00-04:00</date>
            <timezone>EDT</timezone>