# Moment.js

A lightweight JavaScript date library for parsing, validating, manipulating, and formatting dates.

https://momentjs.com (opens new window)

# Usage

To use moment.js you can use the loading view boilerplate::load.moment (opens new window)

When loaded, moment.js will use the locale defined in config/app.php

Moment.js is automatically loaded when you use the loading view boilerplate::load.datatables

@include('boilerplate::load.moment')

<script>
    moment().format('LLLL'); // Thursday, August 27, 2020 10:04 AM
</script>