Browse Source

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

Jeff Ward 7 năm trước cách đây
mục cha
commit
8e8eac065e
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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;