UTC

Summary

Returns the number of milliseconds elapsed since 1 January, 1970 00:00:00:00 in Coordinated Universal Time (UTC).

Signatures

Click on a signature to select it and view its documentation.

Usage

public static double UTC(int year, Month month)

Parameters

year

A year after 1900.

month

The month of the year.

Description

Returns the number of milliseconds elapsed since 1 January, 1970 00:00:00:00 in Coordinated Universal Time (UTC).

Examples

Basic Usage
1
2
3
4
import System;
 
Console.log(Date.UTC(1970, Date.Month.JAN));
Console.log(Date.UTC(1970, Date.Month.FEB));

Share

HTML | BBCode | Direct Link