:: Home >>

setTextFormat Method

Allows to specify the format for the text output.

Syntax

obj.setTextFormat(format);

Parameters

formatStringFormat pattern.

Remarks

Token list:

hh      hours
mm      minutes ( :mm or mm: to distinguish from months)
ss      seconds
dddd    long weekdays
ddd     short weekdays
dd      day of month (with leading zero)
d       day of month
mmmm    long month
mmm     short month
mm      month num (with leading zero)
m       month num
yyyy    full year
yy      short year

Known bugs

See Also

Active.Formats.Date

Comments

6 Apr 05
Can I get a list of format constants David D. (1)

Comments will appear on this page and in the main forum.

Documentation:

Recent changes:

2.5.0 - 2.5.2
2.5.2
2.5, 2.5.1
2.5.1
2.5
Release History
2.5
2.0.2
textToValue
textToData