PickwickSoft / latindate.js

A date converter javascript library converting normal dates into latin written dates

Home Page:https://www.pickwicksoft.org/tools/latindate/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

latindate.js

GitHub license GitHub issues Lines of code GitHub stars GitHub release (latest by date)

A date converter converting normal dates into latin written dates.

How to use latindate.js?

You can include this script on your website using this CDN:

https://cdn.jsdelivr.net/gh/PickwickSoft/latindate.js@v0.1.3/date.min.js

After that, use this method to generate the latin date:

var yourDate = new Date("YYYY-MM-DD") // For current date use Date() without parameters
var latinDate = dateToLatinDate(yourDate); // Returns a String

Important: The Date class does not support the european date format DD.MM.YYYY!

Make sure to pass the right format for a correct date in latin.

About

A date converter javascript library converting normal dates into latin written dates

https://www.pickwicksoft.org/tools/latindate/

License:MIT License


Languages

Language:JavaScript 100.0%