https://github.com/purescript/purescript-datetime
Date and time library for PureScript.
https://github.com/purescript/purescript-datetime
Last synced: 4 months ago
JSON representation
Date and time library for PureScript.
- Host: GitHub
- URL: https://github.com/purescript/purescript-datetime
- Owner: purescript
- License: bsd-3-clause
- Created: 2014-02-19T22:58:07.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2022-09-17T15:04:14.000Z (over 3 years ago)
- Last Synced: 2025-08-06T12:43:49.359Z (7 months ago)
- Language: PureScript
- Homepage:
- Size: 137 KB
- Stars: 49
- Watchers: 10
- Forks: 48
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# purescript-datetime
[](https://github.com/purescript/purescript-datetime/releases)
[](https://github.com/purescript/purescript-datetime/actions?query=workflow%3ACI+branch%3Amaster)
[](https://pursuit.purescript.org/packages/purescript-datetime)
Date and time types and functions.
## Installation
```
spago install datetime
```
## Documentation
This libary provides platform-independent representations of date and time. Parsing specific date formats, such as the ISO 8601 format, is the responsibility of other libraries, such as the [purescript-js-date](https://github.com/purescript-contrib/purescript-js-date) package. Likewise, writing a date/time type to string to display to humans is the responsibility of other libraries, such as the [purescript-formatters](https://github.com/slamdata/purescript-formatters) package.
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-datetime).