Pudu programming language
Menu
API reference

Std.Time.Format.weekdayOf

1 declaration

fn

weekdayOf: Int -> Int

This is a callable function.

What it does

Which day of the week a moment falls on, counting Sunday as zero.

The first of January 1970 was a Thursday, which is why the count starts

four days along.

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.Time.FormatSearch related declarations