getSeconds

Summary

Returns the seconds of the System.Date object according to local time.

Usage

public int getSeconds()

Returns

The seconds of the System.Date object according to local time.

Description

Returns the seconds of the System.Date object according to local time.

Examples

Basic Usage
1
2
3
4
import System;
 
Date d = new Date(2011, Date.Month.FEB, 10, 5, 30, 59);
Console.log(d.getSeconds()); // 59

Share

HTML | BBCode | Direct Link