setUTCMilliseconds Summary Sets the milliseconds of the System.Date object according to Coordinated Universal Time (UTC). Usage public double setUTCMilliseconds(int millisecond) Returns The current time value of the System.Date object, which represents the difference in milliseconds from the updated date/time and 1 January 1970 00:00:00:00 UTC. Parameters millisecond An integer value between 0 and 999 to set the milliseconds to. Description Sets the milliseconds of the System.Date object according to Coordinated Universal Time (UTC). Examples Basic Usage 123456import System; Date d = new Date(2011, Date.Month.FEB, 10, 5, 30, 59, 100);Console.log(d.getUTCMilliseconds()); // 100d.setUTCMilliseconds(999);Console.log(d.getUTCMilliseconds()); // 999 Share HTML | BBCode | Direct Link