Allows to specify the format for the text output.
obj.setTextFormat(format);
format | String | Format pattern. |
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