Pudu programming language
Menu
API reference

Std.Time.currentInstant

1 declaration

fn

currentInstant: Std.Time.Instant

This is a callable function.

What it does

The instant this is called at, on the system clock.

The system clock can move backwards when it is adjusted, which is why

measuring a duration uses elapsed rather than two of these.

Read the signature

  • The text after the name is the type checked by Pudu.

Back to Std.TimeSearch related declarations