Pudu programming language
Menu
API reference

Std.Time.days

1 declaration

fn

days: Int -> Std.Time.Duration

This is a callable function.

What it does

A duration of days, taken as exactly twenty-four hours.

Calendar days are not all that long; a day that crosses a clock change is a

question for Date, not for a duration.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.

Back to Std.TimeSearch related declarations