Browse Source

Reference haxe.Timer.stamp from Date.getTime (#7518)

Jeff Ward 7 years ago
parent
commit
8e8eac065e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      std/Date.hx

+ 3 - 0
std/Date.hx

@@ -53,6 +53,9 @@ extern class Date
 	/**
 		Returns the timestamp (in milliseconds) of the date. It might
 		only have a per-second precision depending on the platforms.
+
+		For measuring time differences with millisecond accuracy on
+		all platforms, see `haxe.Timer.stamp`.
 	**/
 	function getTime() : Float;