Controls Documentation

Controls  Complex Types  Show Hierarchies  Show Full Hierarchies 

Complex Type: xp:convertDateTime

f:com.ibm.xsp.BaseComplexType
   f:converterInterface
      xp:convertDateTime

Description

Converts a value to a date and/or time. Formatting is also locale aware

Properties

Java

Java Class: com.ibm.xsp.convert.DateTimeConverter


loaded, boolean  [Inherited]
Loaded
Specifies whether or not the tag instance should be created when the page is loading. Value defaults to 'true'.
Required Attribute false
Localizable false
Allow Runtime Binding false
Allow Load Time Binding true
Allow Non Binding true
dateStyle, string
Date Style
Allows predefined date styles to define how a date string is formatted and parsed. Valid values are "default", "short", "medium", "long", and "full".
Required Attribute false
Localizable false
Allow Runtime Binding false
Allow Load Time Binding true
Allow Non Binding true
locale,
Locale
Specifies a locale to use when formatting and parsing styles for dates and times. Value can be a string or an expression that evaluates to a locale data type.
Required Attribute false
Localizable false
Allow Runtime Binding false
Allow Load Time Binding true
Allow Non Binding true
timeZone,
Time Zone
Specifies a time zone to use when formatting and parsing styles for dates and times. Value can be a string or an expression that evaluates to a time zone data type.
Required Attribute false
Localizable false
Allow Runtime Binding false
Allow Load Time Binding true
Allow Non Binding true
pattern, string
Pattern
Specifies a pattern for formatting and parsing the date and time string.
Required Attribute false
Localizable false
Allow Runtime Binding false
Allow Load Time Binding true
Allow Non Binding true
timeStyle, string
Time Style
Allows predefined time styles to define how a time string is formatted and parsed. Valid values are "default", "short", "medium", "long", and "full".
Required Attribute false
Localizable false
Allow Runtime Binding false
Allow Load Time Binding true
Allow Non Binding true
type, string
Type
Interprets the content as 'date', 'time', or 'both'. If the value is empty, defaults to 'date'.
Required Attribute false
Localizable false
Allow Runtime Binding false
Allow Load Time Binding true
Allow Non Binding true
ignoreUserTimeZone, boolean
Ignore User Time Zone
Indicates if the user time zone should be ignored in favor of the platform time zone.
Required Attribute false
Localizable false
Allow Runtime Binding false
Allow Load Time Binding true
Allow Non Binding true