Date.setMilliseconds( ) Method

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By Colin Moock
Chapter 18.  ActionScript Language Reference
Date.setMilliseconds( ) Method Flash 5

assign the milliseconds of a date
date.setMilliseconds(ms)

Arguments

ms

An integer from 0 to 999, representing the new milliseconds of date, not the number of milliseconds since 1970. Values above 999 or below 0 are carried over to the seconds of date.

Returns

An integer representing the number of milliseconds between the new date and midnight, January 1, 1970.

See Also

Date.getMilliseconds( ), Date.setTime( )



    ActionScript for Flash MX. The Definitive Guide
    ActionScript for Flash MX: The Definitive Guide, Second Edition
    ISBN: 059600396X
    EAN: 2147483647
    Year: 2002
    Pages: 780
    Authors: Colin Moock

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net