17 setdate, 18 settime, 17 s – Casio Naurtech CETerm Ver.5.1 Web Browser Programming Manual User Manual

Page 33: 18 s, Syntax, Comments, Example

Advertising
background image

N

AURTECH

W

EB

B

ROWSER

S

MART

C

LIENTS FOR

W

INDOWS

CE .NET / P

OCKET

PC




Web Browser Programming Guide

Page 33


alert("Form full, scan discarded.");
}
}
</script>
</form>
</body>
</html>

3.17 S

ET

D

ATE

The SetDate tag is used to set the current system date on the handheld.

Syntax

http-equiv="SetDate"
content="mm/dd/yyyy"
"mm,dd,yyyy"
"mm-dd-yyyy"

Where mm is the month, dd is the day, and yyyy is the year. The date must be
expressed in Coordinated Universal Time (UTC). You must use leading zeros for
the day and month if less than 10.

Comments

If the date format is invalid, this tag is ignored.

Example

<html>
<head>
<meta http-equiv="SetDate" content="04/15/2004">
</head>
<body>
...
</body>
</html>

3.18 S

ET

T

IME

The SetTime tag is used to set the current system time on the handheld.

Syntax

http-equiv="SetTime"
content="hh:mm"
"hh.mm"

Where hh is the hour, and mm is the minute. The time must be expressed in
Coordinated Universal Time (UTC). You must use leading zeros if less than 10.

Advertising