timestamps
gleam add timestamps@1
import timestamps
pub fn main() {
let now = timestamps.now()
io.println("The current time is: " <> now |> timestamps.to_string)
}
Further documentation can be found at https://hexdocs.pm/timestamps.
Development
gleam run # Run the project
gleam test # Run the tests