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...

What is the main reason for exporting data to Excel instead of Word?

A) You are not able to analyze the data as you can in Excel. B) Table information looks the same in both Word and Excel. C) The data can be manipulated the same as in Excel. D) Charts can be made in Word just as in Excel.

Computer Science & Information Technology

To create an effective order form, you must first define its appearance on the Web page by using the appropriate JavaScript tags.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Qoschin: Your Gateway to Quick, Reliable Answers.