timestampToUnitTruncated

fnlong timestampToUnitTruncated(Timestamp t, TemporalUnit unit) @safe pure nothrow @nogc

Expresses the instant as an integer count in unit, truncating a sub-unit remainder toward zero (explicit precision loss).