get

英[get] 美[ɡɛt]

vt. Get; catch; persuade; receive (punishment, etc.)

vt.& vi. Arrive, come

vi. Become; start; try to deal with; obtain benefits or wealth

n. Reproduce, cub; profit

Third person singular : gets Present participle: getting Past tense: got Past participle: got gotten

seconds

## English['sekəndz] US['sekəndz]

n. Second; assistant (plural noun of second); second place; second portion of food

v. support (third person singular of second); temporary assignment; seconding; agreeing with a proposal

javascript getSeconds() method syntax

Function: Return the seconds of time.

Syntax: dateObject.getSeconds()

Returns: dateObject’s minute field, displayed in local time. The return value is an integer between 0 and 59.

Note: The value returned by getSeconds() is a two-digit number. However, the return value is not always two digits, if the value is less than 10, only one digit is returned. This method is always used in conjunction with a Date object.

javascript getSeconds() method example

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script type="text/javascript">

    var d = new Date()
    document.write(d.getSeconds())

</script>

</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance