mirror of
https://github.com/vlang/v.git
synced 2025-09-14 23:12:33 +03:00
17 lines
431 B
Markdown
17 lines
431 B
Markdown
## 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:
|
|
|
|
```v
|
|
import time
|
|
|
|
println(time.now())
|
|
```
|