Skip to content

vow-datetime

vow-datetime builds YYYY-MM-DD strings from year, month, and day integers. Install with vpm:

Terminal window
curl -fsSL https://install.vowlang.dev | sh
export PATH="$HOME/.local/bin:$PATH"
vpm add vow-datetime
vpm install
import vdt from vow_datetime
fn main(caps: Caps) -> int {
print vdt.iso_prefix(2026, 7, 5);
return 0;
}
Terminal window
cd vow-libs/vow-datetime && vow test tests/datetime.vow