UNPKG

@ryniaubenpm/ipsum-aperiam-ullam

Version:

`JsSimpleDateFormat` is for formatting and parsing date-time and duration. It formats a `Date` object to be a string as the defined pattern. It can also parse a string to be a `Date` object based on the defined pattern. It supports the pattern which is

9 lines (7 loc) 679 B
# JsSimpleDateFormat `JsSimpleDateFormat` is for formatting and parsing date-time and duration. It formats a `Date` object to be a string as the defined pattern. It can also parse a string to be a `Date` object based on the defined pattern. It supports the pattern which is compatible with Java `SimpleDateFormat` and .Net `DateTime`. For duration, it extends the pattern used by .Net `TimeSpan`. By using the same pattern as those used by Java or .Net, it can be a benefit if you develop the backend application using Java or .Net. For further information, please read the [documentation](https://atmulyana.github.io/JsSimpleDateFormat/JsSimpleDateFormat-Manual.html).