getUTCSeconds

Summary

Returns the seconds of the System.Date object according to Coordinated Universal Time (UTC).

Usage

public int getUTCSeconds()

Returns

The seconds of the System.Date object according to Coordinated Universal Time (UTC).

Description

Returns the seconds of the System.Date object according to Coordinated Universal Time (UTC).

Examples

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

Share

HTML | BBCode | Direct Link