From 4158640e0ece2c81135ac27a592f8defc6dc5b1b Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Fri, 28 Apr 2023 19:09:05 +0200 Subject: [PATCH] Document Float64 return type of Base.time (#49519) --- base/libc.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/libc.jl b/base/libc.jl index 5b508e00bf3e0..82286fbf01af6 100644 --- a/base/libc.jl +++ b/base/libc.jl @@ -235,14 +235,14 @@ end # system date in seconds """ - time(t::TmStruct) + time(t::TmStruct) -> Float64 Converts a `TmStruct` struct to a number of seconds since the epoch. """ time(tm::TmStruct) = Float64(ccall(:mktime, Int, (Ref{TmStruct},), tm)) """ - time() + time() -> Float64 Get the system time in seconds since the epoch, with fairly high (typically, microsecond) resolution. """