num{<pattern>} Numeric picture clause. For example, S is interpreted as sign and 99 is interpreted as numeric pattern. time{<pattern>} date{<pattern>} Date picture clause. For example, M is interpreted as month. text{<pattern>} Text picture clause.For example, 9 is interpreted as text digit and A is interpreted as alphanumeric item (letter/digit). counter{<pattern>} Counter picture clause. For example, A is interpreted as uppercase Latin alphabetic ordinal value. num(<locale designator>){<pattern>} Equivalent to:
(<locale designator>){num{<pattern>}})as well as:
num{(<locale designator>){<pattern>}} time(<locale designator>){<pattern>} date(<locale designator>){<pattern>} text(<locale designator>){<pattern>} counter(<locale designator>){<pattern>} zero(<locale designator>){<pattern>} null(<locale designator>){<pattern>} Given the input 13:30Z, the Picture Clause HH:MM (HH:MMZ) will give the output “15:30 (13:30GMT+00:00)”, if the computer’s clock is set to CEST (Central European Summer Time, which is +02:00 from GMT).The parentheses insulate the affect of the Z pattern item to only what is inside the parentheses, while the pattern items outside of the parentheses are unaffected by the Z inside of the parentheses.Time zone changes can affect nearby datetime items up to eras. The input 2006-01-01 to the Picture Clause D/M/Y ('week' WW 'of' Y) gives as output “1/1/2006 (week 52 of 2005)”. The parentheses limit the range of, in this case, the WW format item so that the first Y is unaffected and the second Y will output the ISO week year.
OpenText StreamServe 5.6 | Updated: 2013-03-01 |