getUTCMilliseconds

Summary

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

Usage

public int getUTCMilliseconds()

Returns

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

Description

Returns the milliseconds 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, 999);
Console.log(d.getMilliseconds()); // 999

Share

HTML | BBCode | Direct Link