const thaidate = require('thai-date');
const range = thaidate.getDateRanges('23-3 พฤศจิกายน 2562');
console.log(range);
// output
{
from: 2019-10-22T17:00:00.000Z,
fromText: '2019-10-23',
to: 2019-11-02T17:00:00.000Z,
toText: '2019-11-03'
}
-
Notifications
You must be signed in to change notification settings - Fork 0
archawat/thai-date
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published