SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1185 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


If you??™re already in Live Data view, enable the Auto Refresh option when applying new formats.
Dreamweaver reprocesses the page and displays your new formats automatically.
Each of Dreamweaver??™s five server models offers slightly different data formats through the Bindings panel.
A complete list of all the standard data formats, with relevant examples, is shown in Tables 20-1 (ASP),
20-2 (ColdFusion), 20-3 (JSP), 20-4 (.NET), and 20-5 (PHP).
TABLE 20-1
ASP Data Formats
Format Option Example
Date/Time General Format 3/31/2001
Long Format Saturday, March 31, 2001
Short Format 3/31/2001
Weekday, Month Date, Year Saturday, March 31, 2001
Date Month Year 31 March 2001
Month Date, Year March 31, 2001
YY-M-DD 01-3-31
YY-MM-DD 01-03-31
DD-MM-YYYY 31-03-2001
M/D/YY 3/31/01
DD/MM/YY 31/03/01
YY/MM/DD 01/03/31
Long Time Format 9:15:00 PM
Short Time Format 21:15
h:MM:SS AM/PM 9:15:00 PM
HH:MM:SS 21:15:00
hh:MM:SS a.m./p.m. 09:15:00 p.m.
HH:MM 21:15
Currency Default $2,300.99
2 Decimal Places $23.99
Rounded to Integer $23.51 = $24
Leading 0 If Fractional $0.99
No Leading 0 If Fractional $.99
() If Negative ($23.99)
Minus If Negative ??“$23.99
Group Digits $2,300.99
Do Not Group Digits $2300.99
continued
TIP TIP
675
Making Data Dynamic 20
TABLE 20-1 (continued)
Format Option Example
Number Default 2,300
2 Decimal Places 23.


Pages:
1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197