gleam timestamps library
|
||
---|---|---|
.github/workflows | ||
src | ||
test | ||
.gitignore | ||
gleam.toml | ||
LICENSE | ||
manifest.toml | ||
README.md |
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