Modify Fig. 25.2’s clock.asp to also display different time zones.

What will be an ideal response?


```

1 <% @LANGUAGE=VBScript %>

2 <% Option Explicit %>

3

4 <% ' Exercise 25.4 Solution %>

5

6

7

8 A Simple ASP Example

9

10

11

12

13 Simple ASP Example

14



15



16


17


29


40


41


18

19 Eastern Standard Time:


20 <%

21 Dim a

22

23 a = DateAdd( "h", -0, Now() )

24 a = Split( a )

25 Call Response.Write( a( 1 ) & " " & a( 2 ) )

26 %>

27


28


30

31 Pacific Standard Time:


32 <%

33 Dim b

34

35 b = DateAdd( "h", -3, Now() )

36 b = Split( b )

37 Call Response.Write( b( 1 ) & " " & b( 2 ) )

38 %>

39

Computer Science & Information Technology

You might also like to view...

Which of the following are typically found within the DMZ?

A) FTP servers B) Email servers C) Web servers D) All of the above

Computer Science & Information Technology

If the Phone button is not displayed in the Current View group as shown in the accompanying figure, tap or click the ____ button.

A. Additional Views B. Options C. New Views D. More

Computer Science & Information Technology

The properties in the Properties window can be sorted______________ or ______________ .

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

________-side scripts run on Web servers rather than on your local device.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology