chrono-kit v2.8.1 — SwaHub
A comprehensive library for parsing, validating, manipulating, and formatting dates in Swalang.
Code Reference (main.sw)
swalang install chrono-kit# Chrono Kit
Your one-stop solution for all things date and time in Swalang.
## Usage
```swalang
import chrono from 'chrono-kit';
// Get the current date formatted
let today = chrono().format('YYYY-MM-DD');
// Add 7 days to today
let nextWeek = chrono().add(7, 'days');
```
Sitemap & Ecosystem Navigation
Language & Tools
Community & Dictionary
Foundation & Governance
Viewing the pre-rendered indexable snapshot of this resource.
Open in Swalang Web IDE →