v/vlib/time
Delyan Angelov 0bd8d872d1
ci/woodpecker/push/vc Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
ci/woodpecker/push/arch Pipeline was successful Details
time: let time.parse_rfc3339('2015-01-06T15:47:32.080254511Z') succeed (dockerd timestamps, Go's RFC3339Nano).
2022-05-08 14:04:00 +02:00
..
misc
README.md
Y2K38_test.v
chrono.c.v
chrono.v
custom_format_test.v
duration_test.v
format.v time: relative update (#14240) 2022-05-01 19:25:52 +02:00
operator.v
operator_test.v
parse.c.v time: let time.parse_rfc3339('2015-01-06T15:47:32.080254511Z') succeed (dockerd timestamps, Go's RFC3339Nano). 2022-05-08 14:04:00 +02:00
parse.js.v
parse.v
parse_test.v time: let time.parse_rfc3339('2015-01-06T15:47:32.080254511Z') succeed (dockerd timestamps, Go's RFC3339Nano). 2022-05-08 14:04:00 +02:00
private_test.v
relative_test.v time: relative update (#14240) 2022-05-01 19:25:52 +02:00
stopwatch.v
stopwatch_test.v
time.c.v
time.js.v gg: add text rendering, keyboard event handling for JS and other fixes (#12932) 2021-12-22 12:26:52 +02:00
time.v time: relative update (#14240) 2022-05-01 19:25:52 +02:00
time_addition_test.v
time_darwin.c.v
time_format_test.v
time_js.js.v
time_linux.c.v
time_nix.c.v
time_solaris.c.v
time_test.v
time_windows.c.v
unix.v

README.md

Description:

time provides utilities for working with time and dates:

  • parsing of time values expressed in one of the commonly used standard time/date formats
  • formatting of time values
  • arithmetic over times/durations
  • converting between local time and UTC (timezone support)
  • stop watches for accurately measuring time durations
  • sleeping for a period of time

Examples:

import time

println(time.now())