diff --git a/velox/type/Timestamp.h b/velox/type/Timestamp.h index c10a5b135b56..025f623ea3ea 100644 --- a/velox/type/Timestamp.h +++ b/velox/type/Timestamp.h @@ -117,7 +117,7 @@ struct Timestamp { /// and the number of nanoseconds. static Timestamp fromDaysAndNanos(int32_t days, int64_t nanos); - // date is since unix epoch. + // date is the number of days since unix epoch. static Timestamp fromDate(int32_t date); // Returns the current unix timestamp (ms precision).