Packagecom.adobe.mediacore.utils
Classpublic final class DateUtils
InheritanceDateUtils Inheritance Object

Class containing various helper methods related to dates.



Public Methods
 MethodDefined By
  
getMillisecondsSince(date:Date):Number
[static] Returns the number of milliseconds which have passed since the specified date.
DateUtils
Method Detail
getMillisecondsSince()method
public static function getMillisecondsSince(date:Date):Number

Returns the number of milliseconds which have passed since the specified date.

Parameters

date:Date — specified date

Returns
Number — the number of milliseconds or 0 if the date is null or in the future.